Skip to content

Commit

Permalink
clarify static_folder is relative to root_path
Browse files Browse the repository at this point in the history
  • Loading branch information
jeenuv authored and davidism committed Apr 3, 2020
1 parent c6a619a commit 4548e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/flask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ class Flask(_PackageBoundObject):
:param static_url_path: can be used to specify a different path for the
static files on the web. Defaults to the name
of the `static_folder` folder.
:param static_folder: the folder with static files that should be served
at `static_url_path`. Defaults to the ``'static'``
folder in the root path of the application.
:param static_folder: The folder with static files that is served at
``static_url_path``. Relative to the application ``root_path``
or an absolute path. Defaults to ``'static'``.
:param static_host: the host to use when adding the static route.
Defaults to None. Required when using ``host_matching=True``
with a ``static_folder`` configured.
Expand Down

0 comments on commit 4548e00

Please sign in to comment.