Skip to content
Myr

Minor typos fixed

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

According to Cambrigde English Dictionary "web server" ==correct, "webserver" ==incorrect.

authored by Mieszko · committed by Mieszko · parent e916047 · 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:docs/patterns/favicon.rst+3 added-3 removed
2 unmodified lines
34A "favicon" is an icon used by browsers for tabs and bookmarks. This helps5to distinguish your website and to give it a unique brand.67A common question is how to add a favicon to a flask application. First, of7A common question is how to add a favicon to a Flask application. First, of8course, you need an icon. It should be 16 × 16 pixels and in the ICO file9format. This is not a requirement but a de-facto standard supported by all10relevant browsers. Put the icon in your static directory as11:file:`favicon.ico`.
7 unmodified lines
1920That's all you need for most browsers, however some really old ones do not21support this standard. The old de-facto standard is to serve this file,22with this name, at the website root. If your application is not mounted at23the root path of the domain you either need to configure the webserver to23the root path of the domain you either need to configure the web server to24serve the icon at the root or if you can't do that you're out of luck. If25however your application is the root you can simply route a redirect::2627 app.add_url_rule('/favicon.ico',
15 unmodified lines
43same.4445The above will serve the icon via your application and if possible it's46better to configure your dedicated web server to serve it; refer to the47webserver's documentation.47web server's documentation.4849See also50--------51
2 unmodified lines