github.com/grafana/pyroscope@v1.18.0/public/app/util/history.ts (about) 1 import { createBrowserHistory } from 'history'; 2 import { baseurl } from '@pyroscope/util/baseurl'; 3 4 // We share the same instance since react-query-sync expects the same 5 // 'history' instance to be shared 6 // https://github.com/Treora/redux-query-sync/blob/2a2d08e92b2bf931196f97fdbffb0c5ccfb9b6c9/Readme.md?plain=1#L126 7 export const history = createBrowserHistory({ 8 basename: baseurl(), 9 });