mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 09:09:58 -05:00
added basePath
This commit is contained in:
parent
2e6126e7c4
commit
b067440923
3
main.py
3
main.py
@ -32,9 +32,10 @@ def create_app(test_config=None):
|
|||||||
|
|
||||||
template = dict(
|
template = dict(
|
||||||
swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
|
swaggerUiPrefix=LazyString(lambda: request.environ.get('HTTP_X_SCRIPT_NAME', '')),
|
||||||
schemes=[LazyString(lambda: 'https' if request.is_secure else 'http')],
|
schemes=['https', 'http'],
|
||||||
version='1',
|
version='1',
|
||||||
host=LazyString(lambda: request.host),
|
host=LazyString(lambda: request.host),
|
||||||
|
basePath='/',
|
||||||
info={
|
info={
|
||||||
'title': 'Mat2 Web API',
|
'title': 'Mat2 Web API',
|
||||||
'version': '1',
|
'version': '1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user