mirror of
https://github.com/metosin/reitit.git
synced 2025-12-25 19:28:26 +00:00
Copy file & resource handler docstring update to docs
This commit is contained in:
parent
5824d9eeef
commit
b6d9707b53
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ A better way to serve files from conflicting paths, e.g. `"/*"`, is to serve the
|
|||
| -----------------|-------------|
|
||||
| :parameter | optional name of the wildcard parameter, defaults to unnamed keyword `:`
|
||||
| :root | optional resource root, defaults to `\"public\"`
|
||||
| :path | optional path to mount the handler to. Works only if mounted outside of a router.
|
||||
| :path | path to mount the handler to. Required when mounted outside of a router, does not work inside a router.
|
||||
| :loader | optional class loader to resolve the resources
|
||||
| :index-files | optional vector of index-files to look in a resource directory, defaults to `[\"index.html\"]`
|
||||
| :not-found-handler | optional handler function to use if the requested resource is missing (404 Not Found)
|
||||
|
|
|
|||
Loading…
Reference in a new issue