1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-18 09:19:43 +07:00
verdaccio-ui/src/webui/history.js
Juan Picado @jotadeveloper a89f363115
feat: browser history is aware of basename (#45)
* feat: browser history is aware of basename

* test: fix ui options global object

* chore: fix comment
2019-05-04 12:13:29 +02:00

13 lines
217 B
JavaScript

/**
* @prettier
*/
import { createBrowserHistory } from 'history';
import { getBaseNamePath } from './utils/url';
const history = createBrowserHistory({
basename: getBaseNamePath(),
});
export default history;