Refactoring part 2
Necessary changes to ensure correct working of eveai_app
This commit is contained in:
@@ -13,6 +13,7 @@ from common.utils.security import set_tenant_session_data
|
||||
from .errors import register_error_handlers
|
||||
from common.celery_config import make_celery, init_celery
|
||||
|
||||
|
||||
def create_app(config_file=None):
|
||||
app = Flask(__name__)
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1)
|
||||
@@ -87,4 +88,3 @@ def register_api(app):
|
||||
pass
|
||||
# from . import api
|
||||
# app.register_blueprint(api.bp, url_prefix='/api')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user