forked from orbit-oss/flask
Correct waitress-serve command
This commit is contained in:
parent
2d3f72574d
commit
86bf3f205f
1 changed files with 2 additions and 2 deletions
|
|
@ -45,10 +45,10 @@ pattern, use ``--call {module}:{factory}`` instead.
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
# equivalent to 'from hello import app'
|
# equivalent to 'from hello import app'
|
||||||
$ waitress-serve hello:app --host 127.0.0.1
|
$ waitress-serve --host 127.0.0.1 hello:app
|
||||||
|
|
||||||
# equivalent to 'from hello import create_app; create_app()'
|
# equivalent to 'from hello import create_app; create_app()'
|
||||||
$ waitress-serve --call hello:create_app --host 127.0.0.1
|
$ waitress-serve --host 127.0.0.1 --call hello:create_app
|
||||||
|
|
||||||
Serving on http://127.0.0.1:8080
|
Serving on http://127.0.0.1:8080
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue