fixed path for resolving passwd file when deployed via JAR

This commit is contained in:
stephen munro 2017-09-02 14:20:15 +01:00
parent b6454a81df
commit bdcd838ced

View file

@ -34,7 +34,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; the relative path to the password file.
(def password-file-path (str (io/resource-path) "../passwd"))
(def password-file-path (str (clojure.java.io/resource "passwd")))
(defn- get-users