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 35dd408e..853b1c51 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 @@ -2,7 +2,7 @@ (:require [<>.web.middleware.core :as middleware] [integrant.core :as ig] - [ring.util.http-response :as http-response] + [ring.util.response :as response] [reitit.ring :as ring] [reitit.swagger-ui :as swagger-ui])) @@ -21,13 +21,13 @@ (ring/create-default-handler {:not-found (constantly (-> {:status 404, :body "Page not found"} - (http-response/content-type "text/plain"))) + (response/content-type "text/plain"))) :method-not-allowed (constantly (-> {:status 405, :body "Not allowed"} - (http-response/content-type "text/plain"))) + (response/content-type "text/plain"))) :not-acceptable (constantly (-> {:status 406, :body "Not acceptable"} - (http-response/content-type "text/plain")))})) + (response/content-type "text/plain")))})) {:middleware [(middleware/wrap-base opts)]})) (defmethod ig/init-key :router/routes