Try to fix database problems
This commit is contained in:
@@ -23,8 +23,6 @@ def create_app(config_filename=None):
|
|||||||
|
|
||||||
CORS(application, resources={r"*": {"origins": "*"}})
|
CORS(application, resources={r"*": {"origins": "*"}})
|
||||||
|
|
||||||
application.app_context().push()
|
|
||||||
|
|
||||||
db.init_app(application)
|
db.init_app(application)
|
||||||
|
|
||||||
# api blueprints
|
# api blueprints
|
||||||
|
Reference in New Issue
Block a user