diff options
author | Tim <contact@bytim.eu> | 2024-12-31 16:23:46 +0100 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2024-12-31 16:23:46 +0100 |
commit | 5314290bbec53379372d14234fdc4f28cbe3286a (patch) | |
tree | 32bcb32e394873692d16ff7d2c436a71acf2f6b3 /src/dummy_auth/config.clj | |
download | dummy-auth-5314290bbec53379372d14234fdc4f28cbe3286a.tar.xz dummy-auth-5314290bbec53379372d14234fdc4f28cbe3286a.zip |
Initial commit
Diffstat (limited to 'src/dummy_auth/config.clj')
-rw-r--r-- | src/dummy_auth/config.clj | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dummy_auth/config.clj b/src/dummy_auth/config.clj new file mode 100644 index 0000000..d8e4ce2 --- /dev/null +++ b/src/dummy_auth/config.clj @@ -0,0 +1,8 @@ +(ns dummy-auth.config + (:require [clojure.data.json :as cdjson])) + +(defn read-config [file] + (merge {:port 8080} + (-> file + slurp + (cdjson/read-str :key-fn keyword)))) |