(handle-page-request {:keys [config] :as request})
Handler that wraps around stasis.core/serve-pages, allowing the get-pages function (Stasis terminology) to access the request map. This allows the config to be passed down from wrap-overlay-dir, avoiding an unecessary config load
Handler that wraps around stasis.core/serve-pages, allowing the get-pages function (Stasis terminology) to access the request map. This allows the config to be passed down from wrap-overlay-dir, avoiding an unecessary config load
(start-server config-overrides)
(wrap-load-config app config-overrides)
Loads config and adds it to the request map under they key :config
Loads config and adds it to the request map under they key :config
(wrap-overlay-dir app)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close