switch from cprop to aero

This commit is contained in:
Gered 2022-01-30 13:01:24 -05:00
parent 208f6be341
commit e270541575
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,8 +3,8 @@
(:gen-class)
(:require
[clojure.tools.logging :as log]
[aero.core :refer [read-config]]
[aging-session.core :as aging-session]
[cprop.core :refer [load-config]]
[hiccup.page :refer [html5 include-css include-js]]
[org.httpkit.server :as http-kit]
[mount.core :as mount :refer [defstate]]
@ -38,7 +38,7 @@
:start
(do
(log/info "Loading config.edn")
(load-config :file "config.edn")))
(read-config "config.edn")))
(defstate ^{:on-reload :noop} repl-server
:start