Commit 684a0b875436ce8b63b4de80d689d3f573e2a51f
1 parent
16c55e61
Exists in
master
Configure WSGI.
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
web/wsgi.py renamed to flaskr/wsgi.py
... | ... | @@ -6,9 +6,10 @@ PROJECT_ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) |
6 | 6 | sys.path.append(PROJECT_ROOT_DIR) |
7 | 7 | |
8 | 8 | # Only now can we import locals |
9 | +# --> Not really true anymore since this file is in flaskr now. | |
9 | 10 | from flaskr import create_app |
10 | 11 | |
11 | 12 | app = create_app('flaskr.settings.ProductionConfig') |
12 | 13 | |
13 | 14 | if __name__ == "__main__": |
14 | - app.run(host='0.0.0.0') | |
15 | + app.run(host='0.0.0.0', port=80) | ... | ... |