dda-masto-embed/masto-embed/env/dev/clj/masto_embed/env.clj

16 lines
412 B
Clojure
Raw Normal View History

(ns masto-embed.env
(:require
[selmer.parser :as parser]
[clojure.tools.logging :as log]
[masto-embed.dev-middleware :refer [wrap-dev]]))
(def defaults
{:init
(fn []
(parser/cache-off!)
(log/info "\n-=[masto-embed started successfully using the development profile]=-"))
:stop
(fn []
(log/info "\n-=[masto-embed has shut down successfully]=-"))
:middleware wrap-dev})