summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 63f680c..0be9296 100644
--- a/main.py
+++ b/main.py
@@ -32,9 +32,10 @@ def create_app(test_config=None):
32 32
33 template = dict( 33 template = dict(
34 swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')), 34 swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
35 schemes=[LazyString(lambda: 'https' if request.is_secure else 'http')], 35 schemes=['https', 'http'],
36 version='1', 36 version='1',
37 host=LazyString(lambda: request.host), 37 host=LazyString(lambda: request.host),
38 basePath='/',
38 info={ 39 info={
39 'title': 'Mat2 Web API', 40 'title': 'Mat2 Web API',
40 'version': '1', 41 'version': '1',