mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
restore context path support
This commit is contained in:
@@ -16,11 +16,11 @@ import createReduxStore from "./createReduxStore";
|
||||
import { ConnectedRouter } from "react-router-redux";
|
||||
import PluginLoader from "./components/PluginLoader";
|
||||
|
||||
const publicUrl: string = process.env.PUBLIC_URL || "";
|
||||
import { contextPath } from "./urls";
|
||||
|
||||
// Create a history of your choosing (we're using a browser history in this case)
|
||||
const history: BrowserHistory = createHistory({
|
||||
basename: publicUrl
|
||||
basename: contextPath
|
||||
});
|
||||
|
||||
// Add the reducer to your store on the `router` key
|
||||
|
||||
Reference in New Issue
Block a user