feat: add CMS base domain to enable session-based API access (#37014)
This commit is contained in:
@@ -350,6 +350,7 @@ SPECTACULAR_SETTINGS = {
|
||||
'SCHEMA_PATH_PREFIX_TRIM': '/api/contentstore',
|
||||
'SERVERS': [
|
||||
{'url': AUTHORING_API_URL, 'description': 'Public'},
|
||||
{'url': f'http://{CMS_BASE}/api/contentstore', 'description': 'Local'}
|
||||
{'url': f'http://{CMS_BASE}', 'description': 'Local'},
|
||||
{'url': f'http://{CMS_BASE}/api/contentstore', 'description': 'CMS-contentstore'}
|
||||
],
|
||||
}
|
||||
|
||||
@@ -481,7 +481,8 @@ SPECTACULAR_SETTINGS = {
|
||||
'SCHEMA_PATH_PREFIX_TRIM': '/api/contentstore',
|
||||
'SERVERS': [
|
||||
{'url': AUTHORING_API_URL, 'description': 'Public'},
|
||||
{'url': f'https://{CMS_BASE}/api/contentstore', 'description': 'Local'},
|
||||
{'url': f'https://{CMS_BASE}', 'description': 'Local'},
|
||||
{'url': f'https://{CMS_BASE}/api/contentstore', 'description': 'CMS-contentstore'}
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user