diff --git a/src/blarg/handler.clj b/src/blarg/handler.clj index 13da2d5..bcfb8c7 100644 --- a/src/blarg/handler.clj +++ b/src/blarg/handler.clj @@ -19,11 +19,7 @@ (defroutes app-routes (route/resources "/") - (wrap-head - (fn [request] - {:status 404 - :headers {"Content-Type" "text/html"} - :body (layout/render "notfound.html")}))) + (route/not-found (layout/render "notfound.html"))) (defn init [] (timbre/set-config!