client/src/index.js
changeset 54 fad489be9c77
parent 53 d8588379529e
child 62 b2514a9bcd49
--- a/client/src/index.js	Mon Jun 19 17:56:41 2017 +0200
+++ b/client/src/index.js	Mon Jun 19 17:30:03 2017 +0200
@@ -13,8 +13,11 @@
 import './index.css';
 import registerServiceWorker from './registerServiceWorker';
 import configureStore from './store/configureStore';
+import config from './config';
 
-const history = createHistory();
+const history = createHistory({
+    basename: config.basename
+});
 const store = configureStore(history);
 
 ReactDOM.render(