mirror of
https://github.com/metosin/reitit.git
synced 2025-12-19 17:21:10 +00:00
Update static.md
This commit is contained in:
parent
5e5345bf63
commit
4d2114856f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ To serve static files with conflicting routes, e.g. `"/*"`, one needs to disable
|
|||
|
||||
## External routes
|
||||
|
||||
A better way to serve files from conflicting paths, e.g. `"/*"`, is to serve them from the default-handler. One can compose multipl default locations using `ring-handler`. This way, they are only served if none of the actual routes have matched.
|
||||
A better way to serve files from conflicting paths, e.g. `"/*"`, is to serve them from the default-handler. One can compose multiple default locations using `ring-handler`. This way, they are only served if none of the actual routes have matched.
|
||||
|
||||
```clj
|
||||
(ring/ring-handler
|
||||
|
|
|
|||
Loading…
Reference in a new issue