docs: :file:/var/www/foo, `/static`
This commit is contained in:
parent
ad011bc32d
commit
06d9a5e738
7 changed files with 19 additions and 19 deletions
|
|
@ -371,7 +371,7 @@ Dynamic web applications also need static files. That's usually where
|
|||
the CSS and JavaScript files are coming from. Ideally your web server is
|
||||
configured to serve them for you, but during development Flask can do that
|
||||
as well. Just create a folder called :file:`static` in your package or next to
|
||||
your module and it will be available at `/static` on the application.
|
||||
your module and it will be available at ``/static`` on the application.
|
||||
|
||||
To generate URLs for static files, use the special ``'static'`` endpoint name::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue