Skip to content

Commit 58633e0

Browse files
author
ExpDev07
committed
added __main__
1 parent 002e1af commit 58633e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
from flask_cors import CORS
33
from . import settings
44

5+
if __name__=='__main__':
6+
app = create_app()
7+
app.run(host='0.0.0.0')
8+
59
def create_app():
610
"""
711
Construct the core application.

0 commit comments

Comments
 (0)