From 75a5e816a900131f3b9d5b9ce58c0b8733f6b9cc Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Tue, 8 Apr 2025 08:15:59 +0300 Subject: [PATCH] reindent --- modules/reitit-ring/src/reitit/ring.cljc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/reitit-ring/src/reitit/ring.cljc b/modules/reitit-ring/src/reitit/ring.cljc index 32d3bb44..7feb5a54 100644 --- a/modules/reitit-ring/src/reitit/ring.cljc +++ b/modules/reitit-ring/src/reitit/ring.cljc @@ -252,9 +252,9 @@ response (fn [path] (when-let [response (or (paths (join-paths "/" path)) (response-fn path options))] - (if-let [content-type (mime-type/ext-mime-type path mime-types)] - (response/content-type response content-type) - response))) + (if-let [content-type (mime-type/ext-mime-type path mime-types)] + (response/content-type response content-type) + response))) path-or-index-response (fn [path uri] (or (response path) (when (or canonicalize-uris? (str/ends-with? uri "/"))