mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-23 07:50:26 +00:00
11 lines
306 B
Clojure
11 lines
306 B
Clojure
(ns commiteth.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))
|