Refactoring part 2

Necessary changes to ensure correct working of eveai_app
This commit is contained in:
Josako
2024-05-06 23:08:05 +02:00
parent 131c609e68
commit fe1508f175

View File

@@ -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')