From 6f30892a02a3feff164b1c26805cb35a54475726 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 17 Feb 2018 14:04:32 -0200 Subject: Removes front-end stuff --- env/dev/clj/queue_api/dev_middleware.clj | 2 -- env/dev/clj/queue_api/env.clj | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'env/dev/clj') 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 [] -- cgit v1.2.3