Fix: Server startup error due to configuration type not being assigned correctly.
This commit is contained in:
2
app.py
2
app.py
@@ -73,7 +73,6 @@ app = Flask(__name__)
|
||||
app.config.from_object(app_config) # for db init with required keys
|
||||
# app.config["config"] = app_config()
|
||||
|
||||
|
||||
# logging
|
||||
handler = RotatingFileHandler('app.log', maxBytes=10000, backupCount=3)
|
||||
handler.setLevel(logging.DEBUG)
|
||||
@@ -96,6 +95,7 @@ def internal_server_error(error):
|
||||
return "Internal Server Error", 500
|
||||
|
||||
|
||||
|
||||
"""
|
||||
csrf = CSRFProtect()
|
||||
cors = CORS()
|
||||
|
||||
Reference in New Issue
Block a user