Skip to content

Commit

Permalink
doc: URL: switch back to hash based
Browse files Browse the repository at this point in the history
  • Loading branch information
cgestes authored and yulric committed Oct 22, 2015
1 parent 736dd10 commit f278563
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/app/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ const ReactDOM = require('react-dom');
const {Router} = require('react-router');
const AppRoutes = require('./app-routes.jsx');
const injectTapEventPlugin = require('react-tap-event-plugin');
const createBrowserHistory = require('history/lib/createBrowserHistory');
const history = createBrowserHistory()
const createHistory = require('history/lib/createHashHistory');

//Needed for React Developer Tools
window.React = React;
Expand All @@ -19,6 +18,6 @@ injectTapEventPlugin();
* Render the main app component. You can read more about the react-router here:
* https://github.com/rackt/react-router/blob/master/docs/guides/overview.md
*/
ReactDOM.render(<Router history={history}>
ReactDOM.render(<Router history={createHistory({queryKey: false})}>
{AppRoutes}
</Router>, document.getElementById('app'));

0 comments on commit f278563

Please sign in to comment.