From f689dc42655f4363897bdf4238cd1f1691ef4b04 Mon Sep 17 00:00:00 2001 From: Amin Alaee Date: Sat, 4 Feb 2023 17:42:51 +0100 Subject: [PATCH] update docs --- docs/staticfiles.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/staticfiles.md b/docs/staticfiles.md index 3591b4f9f5..fa9f30b7a8 100644 --- a/docs/staticfiles.md +++ b/docs/staticfiles.md @@ -9,6 +9,7 @@ Signature: `StaticFiles(directory=None, packages=None, check_dir=True)` * `packages` - A list of strings or list of tuples of strings of python packages. * `html` - Run in HTML mode. Automatically loads `index.html` for directories if such file exist. * `check_dir` - Ensure that the directory exists upon instantiation. Defaults to `True`. +* `follow_symlink` - A boolean indicating if symbolic links for files and directories should be followed. Defaults to `False`. You can combine this ASGI application with Starlette's routing to provide comprehensive static file serving.