A woman is not dead while her name is still spoken.
This commit is contained in:
parent
fedfc3ae45
commit
6624f5f69b
@ -47,6 +47,11 @@
|
||||
(ANY "*" []
|
||||
(route/not-found (slurp (io/resource "404.html")))))
|
||||
|
||||
(defn wrap-gnu-natalie-nguyen [handler]
|
||||
(fn [req]
|
||||
(when-let [resp (handler req)]
|
||||
(assoc-in resp [:headers "X-Clacks-Overhead"] "GNU Natalie Nguyen"))))
|
||||
|
||||
(defn wrap-error-page [handler]
|
||||
(fn [req]
|
||||
(try (handler req)
|
||||
@ -60,6 +65,7 @@
|
||||
(-> app-routes
|
||||
logger/wrap-with-logger
|
||||
wrap-error-page
|
||||
wrap-gnu-natalie-nguyen
|
||||
trace/wrap-stacktrace
|
||||
params/wrap-params))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user