Skip to content

Commit

Permalink
Fix missing Swagger config
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Sep 28, 2020
1 parent 95ac104 commit b9fba1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit b9fba1c

Please sign in to comment.