1
0
James Ketrenos 5544485e30 Still working on loading
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-01-26 13:05:43 -08:00

14 lines
381 B
JavaScript
Executable File

import { createBrowserHistory } from 'history';
// Run our app under the /base URL.
const history = createBrowserHistory({
// basename: process.env.PUBLIC_URL
});/*,
push = history.push;
history.push = (path) => {
const base = new URL(document.querySelector("base") ? document.querySelector("base").href : "");
push(base.pathname + path);
};*/
export default history;