Browse Source

Updated cli.rst with a minimal mention of --host and --port options.

pull/2561/head
Brett Randall 7 years ago committed by GitHub
parent
commit
e3fdb08488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/cli.rst

3
docs/cli.rst

@ -94,6 +94,9 @@ replaces the :meth:`Flask.run` method in most cases. ::
* Serving Flask app "hello"
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
The bind-address and port can be controlled using the `--host` and `--port`
options.
.. warning:: Do not use this command to run your application in production.
Only use the development server during development. The development server
is provided for convenience, but is not designed to be particularly secure,

Loading…
Cancel
Save