diff --git a/backend/backend.py b/backend/backend.py index 5dfef1f..c3f7e9a 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -76,6 +76,10 @@ def __call__(self, environ, start_response): app.wsgi_app = ReverseProxied(app.wsgi_app) +# Initialize Swagger config if not exists. +if 'SWAGGER' not in app.config: + app.config['SWAGGER'] = {} + app.config['SWAGGER']['favicon'] = "https://assets.webis.de/img/favicon.png" swagger_config = {