switch from cprop to aero

This commit is contained in:
Gered 2022-01-30 12:48:29 -05:00
parent 42361db44d
commit 7fc813e6e9
2 changed files with 4 additions and 4 deletions

View file

@ -5,8 +5,8 @@
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[ch.qos.logback/logback-classic "1.2.7"]
[cprop "0.1.19"]
:dependencies [[aero "1.1.6"]
[ch.qos.logback/logback-classic "1.2.7"]
[hiccup "1.0.5"]
[http-kit "2.5.3"]
[javax.servlet/servlet-api "2.5"]

View file

@ -3,7 +3,7 @@
(:gen-class)
(:require
[clojure.tools.logging :as log]
[cprop.core :refer [load-config]]
[aero.core :refer [read-config]]
[hiccup.page :refer [html5]]
[org.httpkit.server :as http-kit]
[mount.core :as mount :refer [defstate]]
@ -33,7 +33,7 @@
:start
(do
(log/info "Loading config.edn")
(load-config :file "config.edn")))
(read-config "config.edn")))
(defstate ^{:on-reload :noop} repl-server
:start