aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2018-02-17 14:04:32 -0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2018-02-17 14:04:32 -0200
commit6f30892a02a3feff164b1c26805cb35a54475726 (patch)
tree96f285675f4840e8fc338676dc9fd1e1c1db9fdc /env
parent98056e815a6dcd36d7377d3cd823a4aaf5a3d9fa (diff)
downloadqueue-api-6f30892a02a3feff164b1c26805cb35a54475726.tar.gz
queue-api-6f30892a02a3feff164b1c26805cb35a54475726.tar.bz2
queue-api-6f30892a02a3feff164b1c26805cb35a54475726.zip
Removes front-end stuff
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 []