mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-07 16:11:30 +00:00
fix(ui): ignore basePath static value for dev mode (#21190)
This commit is contained in:
parent
94ba520111
commit
db979dd44a
@ -14,7 +14,9 @@
|
|||||||
import { createBrowserHistory } from 'history';
|
import { createBrowserHistory } from 'history';
|
||||||
|
|
||||||
export const getBasePath = () => {
|
export const getBasePath = () => {
|
||||||
return window.BASE_PATH?.slice(0, -1) ?? '';
|
return window.BASE_PATH !== '${basePath}'
|
||||||
|
? window.BASE_PATH?.slice(0, -1) ?? ''
|
||||||
|
: '';
|
||||||
};
|
};
|
||||||
|
|
||||||
export const history = createBrowserHistory(
|
export const history = createBrowserHistory(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user