Replace: Stage to Test

This commit is contained in:
Yûki VACHOT 2022-01-12 18:17:37 +01:00
parent bce2237303
commit 0a3ab090a6
3 changed files with 8 additions and 10 deletions

View file

@ -1,9 +1,8 @@
from application import create_app
import os
app = create_app()
app = create_app(os.environ.get('FLASK_ENV', None))
if __name__ == "__main__":
PORT = os.environ.get('PORT', 33507)
print('app.run')
app.run(host='0.0.0.0', port=PORT, DEBUG=True)