1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

fixed end point - fixed posts in metadata

This commit is contained in:
2016-09-13 04:37:56 +00:00
parent e558fe5da2
commit e5d340df5d
10 changed files with 102 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ ReactDOM.render((
<Router history={history}>
<Route path="/" component={App}>
<IndexRoute component={Preview}/>
<Route path="post/:category/:post" component={Post}/>
<Route path="post(/:category)/:post" component={Post}/>
<Route path="sensor/:location" component={SensorInfo}/>
</Route>
</Router>