From b6d9707b5319a5b11bd46ee8599f1e03b635306e Mon Sep 17 00:00:00 2001 From: Miikka Koskinen Date: Tue, 2 Mar 2021 08:28:36 +0200 Subject: [PATCH] Copy file & resource handler docstring update to docs --- doc/ring/static.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ring/static.md b/doc/ring/static.md index 10a7b03c..375d68d3 100644 --- a/doc/ring/static.md +++ b/doc/ring/static.md @@ -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)