Refactor techradar to subfolder

This commit is contained in:
Mathias Schopmans
2017-04-04 18:10:44 +02:00
parent 461c4e7dda
commit 1323610982
11 changed files with 23 additions and 14 deletions

View File

@@ -18,7 +18,9 @@ const getPageNameFromPath = (path) => {
}
const historyManager = store => {
const history = createHistory();
const history = createHistory({
basename: '/techradar'
});
// If browser-back button is pressed, provide new pageName to store
history.listen((location, action) => {