mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-06 23:52:29 +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';
|
||||
|
||||
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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user