From bdcd838ced49ebbd87143c2f1510c3f5750a0956 Mon Sep 17 00:00:00 2001 From: stephen munro Date: Sat, 2 Sep 2017 14:20:15 +0100 Subject: [PATCH] fixed path for resolving passwd file when deployed via JAR --- src/smeagol/authenticate.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smeagol/authenticate.clj b/src/smeagol/authenticate.clj index 38d17f9..67a7e4e 100644 --- a/src/smeagol/authenticate.clj +++ b/src/smeagol/authenticate.clj @@ -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