Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aminalaee committed Feb 4, 2023
1 parent c404cb6 commit f689dc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/staticfiles.md
Expand Up @@ -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.
Expand Down

0 comments on commit f689dc4

Please sign in to comment.