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:
parent
adeb3e666b
commit
1eddcb14c5
1 changed files with 2 additions and 2 deletions
|
@ -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} />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue