Account for BASE_PATH

This commit is contained in:
jeremystretch 2023-04-20 15:03:48 -04:00
parent 95dbf167fc
commit 2794a58854

View File

@ -587,7 +587,7 @@ SPECTACULAR_SETTINGS = {
'VERSION': VERSION,
'COMPONENT_SPLIT_REQUEST': True,
'REDOC_DIST': 'SIDECAR',
"SERVERS": [{'url': '/api'}, ],
'SERVERS': [{'url': f'/{BASE_PATH}api'}, ],
'SWAGGER_UI_DIST': 'SIDECAR',
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
}