Fixed config

- config didn't work now it's working properly
- it takes config from envirionment variable FLASK_CONFIG
- if no such variable exists it uses Development config as default
This commit is contained in:
2023-08-15 20:27:49 -04:00
parent 85a90a8fc1
commit 590a43b28e
10 changed files with 36 additions and 0 deletions

4
run.py Normal file
View File

@@ -0,0 +1,4 @@
from app import app
if __name__ == '__main__':
app.run()