mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
Account for BASE_PATH
This commit is contained in:
parent
95dbf167fc
commit
2794a58854
@ -587,7 +587,7 @@ SPECTACULAR_SETTINGS = {
|
|||||||
'VERSION': VERSION,
|
'VERSION': VERSION,
|
||||||
'COMPONENT_SPLIT_REQUEST': True,
|
'COMPONENT_SPLIT_REQUEST': True,
|
||||||
'REDOC_DIST': 'SIDECAR',
|
'REDOC_DIST': 'SIDECAR',
|
||||||
"SERVERS": [{'url': '/api'}, ],
|
'SERVERS': [{'url': f'/{BASE_PATH}api'}, ],
|
||||||
'SWAGGER_UI_DIST': 'SIDECAR',
|
'SWAGGER_UI_DIST': 'SIDECAR',
|
||||||
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user