mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 00:41:12 +00:00
Fix #457, fix reflection warning in reitit.ring
This commit is contained in:
parent
3a6985eb71
commit
12d3dcabec
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@
|
|||
handler (if path
|
||||
(fn [request]
|
||||
(let [uri (:uri request)]
|
||||
(if (.startsWith uri path)
|
||||
(if (str/starts-with? uri path)
|
||||
(path-or-index-response (subs uri path-size) uri))))
|
||||
(fn [request]
|
||||
(let [uri (:uri request)
|
||||
|
|
|
|||
Loading…
Reference in a new issue