10 lines
332 B
Text
10 lines
332 B
Text
|
|
(ns tapp.conf
|
||
|
|
(:require [tapp.audit-log :refer [audit log]])
|
||
|
|
(:require-macros [mount.core :refer [defstate]]))
|
||
|
|
|
||
|
|
(defn load-config [path]
|
||
|
|
(audit log :app-conf "loading config from '" path "' (at least pretending)")
|
||
|
|
{:system-a {:uri "ws://echo.websocket.org/"}})
|
||
|
|
|
||
|
|
(defstate config :start (load-config "resources/config.end"))
|