mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
reindent
This commit is contained in:
parent
e16c95c5b3
commit
75a5e816a9
1 changed files with 3 additions and 3 deletions
|
|
@ -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 "/"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue