aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
Diffstat (limited to 'env')
-rw-r--r--env/dev/clj/queue_api/dev_middleware.clj2
-rw-r--r--env/dev/clj/queue_api/env.clj4
2 files changed, 1 insertions, 5 deletions
diff --git a/env/dev/clj/queue_api/dev_middleware.clj b/env/dev/clj/queue_api/dev_middleware.clj
index ece7a25..af64678 100644
--- a/env/dev/clj/queue_api/dev_middleware.clj
+++ b/env/dev/clj/queue_api/dev_middleware.clj
@@ -1,10 +1,8 @@
(ns queue-api.dev-middleware
(:require [ring.middleware.reload :refer [wrap-reload]]
- [selmer.middleware :refer [wrap-error-page]]
[prone.middleware :refer [wrap-exceptions]]))
(defn wrap-dev [handler]
(-> handler
wrap-reload
- wrap-error-page
wrap-exceptions))
diff --git a/env/dev/clj/queue_api/env.clj b/env/dev/clj/queue_api/env.clj
index 1f31ba5..0fd51d3 100644
--- a/env/dev/clj/queue_api/env.clj
+++ b/env/dev/clj/queue_api/env.clj
@@ -1,12 +1,10 @@
(ns queue-api.env
- (:require [selmer.parser :as parser]
- [clojure.tools.logging :as log]
+ (:require [clojure.tools.logging :as log]
[queue-api.dev-middleware :refer [wrap-dev]]))
(def defaults
{:init
(fn []
- (parser/cache-off!)
(log/info "\n-=[queue-api started successfully using the development profile]=-"))
:stop
(fn []