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

3
app/tasks.py Normal file
View File

@@ -0,0 +1,3 @@
def example_task(n: int) -> int:
""" Example task"""
return n**n