mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
feat: Allow superset to be deployed under a prefixed URL (#30134)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
@@ -26,5 +26,5 @@ export default function setupSupersetClient() {
|
||||
// including CSRF authentication and initialization
|
||||
global.FormData = window.FormData; // used by SupersetClient
|
||||
fetchMock.get('glob:*/api/v1/security/csrf_token/*', { result: '1234' });
|
||||
SupersetClient.configure({ protocol: 'http', host: 'localhost' }).init();
|
||||
SupersetClient.configure({ protocol: 'http:', host: 'localhost' }).init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user