mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 00:59:59 -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(
|
||||
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',
|
||||
host=LazyString(lambda: request.host),
|
||||
basePath='/',
|
||||
info={
|
||||
'title': 'Mat2 Web API',
|
||||
'version': '1',
|
||||
|
Loading…
x
Reference in New Issue
Block a user