forked from sombochea/verdaccio-ui
feat: browser history is aware of basename (#45)
* feat: browser history is aware of basename * test: fix ui options global object * chore: fix comment
This commit is contained in:
committed by
GitHub
parent
c3eac3d27b
commit
a89f363115
@@ -3,7 +3,10 @@
|
||||
*/
|
||||
|
||||
import { createBrowserHistory } from 'history';
|
||||
import { getBaseNamePath } from './utils/url';
|
||||
|
||||
const history = createBrowserHistory();
|
||||
const history = createBrowserHistory({
|
||||
basename: getBaseNamePath(),
|
||||
});
|
||||
|
||||
export default history;
|
||||
|
||||
Reference in New Issue
Block a user