diff --git a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj index 6734c76..38a5d10 100644 --- a/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj +++ b/libs/deps-template/resources/io/github/kit_clj/kit/src/clj/web/handler.clj @@ -21,13 +21,13 @@ (ring/create-default-handler {:not-found (constantly (-> {:status 404, :body "Page not found"} - (http-response/content-type "text/html"))) + (http-response/content-type "text/plain"))) :method-not-allowed (constantly (-> {:status 405, :body "Not allowed"} - (http-response/content-type "text/html"))) + (http-response/content-type "text/plain"))) :not-acceptable (constantly (-> {:status 406, :body "Not acceptable"} - (http-response/content-type "text/html")))})) + (http-response/content-type "text/plain")))})) {:middleware [(middleware/wrap-base opts)]})) (defmethod ig/init-key :router/routes