1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Remove hash route

This commit is contained in:
Markus Grigull 2017-07-27 16:52:59 +02:00
parent adeb3e666b
commit 1eddcb14c5

View file

@ -20,7 +20,7 @@
******************************************************************************/
import React, { Component } from 'react';
import { Router, Route, hashHistory } from 'react-router';
import { Router, Route, browserHistory } from 'react-router';
import App from './containers/app';
import Home from './containers/home';
@ -37,7 +37,7 @@ import Logout from './containers/logout';
class Root extends Component {
render() {
return (
<Router history={hashHistory}>
<Router history={browserHistory}>
<Route path='/' component={App}>
<Route path='/home' component={Home} />