1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-26 21:15:32 +07:00
verdaccio-ui/src/webui/history.js

13 lines
217 B
JavaScript
Raw Normal View History

2019-02-03 17:23:33 +07:00
/**
* @prettier
*/
2019-03-28 05:39:06 +07:00
import { createBrowserHistory } from 'history';
import { getBaseNamePath } from './utils/url';
2019-02-03 17:23:33 +07:00
const history = createBrowserHistory({
basename: getBaseNamePath(),
});
2019-02-03 17:23:33 +07:00
export default history;