diff options
| author | Jan Friedli | 2020-07-14 00:19:05 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-07-14 00:19:05 +0200 |
| commit | 42f9ede4bf9ee5cf0e7fda74fcd37bea5540c302 (patch) | |
| tree | 35f2a096248edeb3c522514698b885eaed1ba712 | |
| parent | b06744092365194b30b951c1f60d559bd178a616 (diff) | |
make swagger valid
| -rw-r--r-- | main.py | 2 |
1 files changed, 0 insertions, 2 deletions
| @@ -31,9 +31,7 @@ def create_app(test_config=None): | |||
| 31 | app.json_encoder = LazyJSONEncoder | 31 | app.json_encoder = LazyJSONEncoder |
| 32 | 32 | ||
| 33 | template = dict( | 33 | template = dict( |
| 34 | swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')), | ||
| 35 | schemes=['https', 'http'], | 34 | schemes=['https', 'http'], |
| 36 | version='1', | ||
| 37 | host=LazyString(lambda: request.host), | 35 | host=LazyString(lambda: request.host), |
| 38 | basePath='/', | 36 | basePath='/', |
| 39 | info={ | 37 | info={ |
