Skip to content
Myr

Merge pull request #3541 from jeenuv/clarify-static

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Clarify that static_folder must be a relative path

authored by David Lord · committed by GitHub · parents c6a619a, 4548e00 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:src/flask/app.py+3 added-3 removed
168 unmodified lines
169 :param import_name: the name of the application package170 :param static_url_path: can be used to specify a different path for the171 static files on the web. Defaults to the name172 of the `static_folder` folder.173 :param static_folder: the folder with static files that should be served174 at `static_url_path`. Defaults to the ``'static'``175 folder in the root path of the application.173 :param static_folder: The folder with static files that is served at174 ``static_url_path``. Relative to the application ``root_path``175 or an absolute path. Defaults to ``'static'``.176 :param static_host: the host to use when adding the static route.177 Defaults to None. Required when using ``host_matching=True``178 with a ``static_folder`` configured.179 :param host_matching: set ``url_map.host_matching`` attribute.
2287 unmodified lines