|
@@ -1,6 +1,6 @@
|
|
|
import React from 'react'
|
|
|
import { render } from 'react-dom'
|
|
|
-import { Router, Route, hashHistory, IndexRoute } from 'react-router'
|
|
|
+import { Router, Route, browserHistory, IndexRoute } from 'react-router'
|
|
|
import App from './modules/App'
|
|
|
import About from './modules/About'
|
|
|
import Repos from './modules/Repos'
|
|
@@ -8,7 +8,7 @@ import Repo from './modules/Repo'
|
|
|
import Home from './modules/Home'
|
|
|
|
|
|
render((
|
|
|
- <Router history={hashHistory}>
|
|
|
+ <Router history={browserHistory}>
|
|
|
<Route path="/" component={App}>
|
|
|
<IndexRoute component={Home}/>
|
|
|
<Route path="/repos" component={Repos}>
|