Try to fix database problems
This commit is contained in:
parent
20261a4320
commit
29fea56bbf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user