Mention localhost:5000 being pointless in the docs. It already says that down on the page but not on the key

This commit is contained in:
Armin Ronacher 2011-09-25 19:02:47 +02:00
parent 83b1da8df8
commit 6d0b3264c2
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ The following configuration values are used internally by Flask:
``LOGGER_NAME`` the name of the logger
``SERVER_NAME`` the name and port number of the server.
Required for subdomain support (e.g.:
``'localhost:5000'``)
``'myapp.dev:5000'``) Note that
localhost does not support subdomains so
setting this to “localhost” help.
``APPLICATION_ROOT`` If the application does not occupy
a whole domain or subdomain this can
be set to the path where the application