From c6b165de601ff630b175ab3dcc3ffd87a6770179 Mon Sep 17 00:00:00 2001 From: Paul Young Date: Tue, 24 Mar 2015 11:45:26 -0700 Subject: [PATCH] Use the HTML5 history API for cleaner URLs. --- src/main.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.jsx b/src/main.jsx index 5cb1d28..5ced73d 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -75,7 +75,7 @@ let fetchData = function(routes, params) { } // Start the router -Router.run(routes, function(Handler, state) { +Router.run(routes, Router.HistoryLocation, function(Handler, state) { fetchData(state.routes, state.params).then((data) => { React.render(, document.getElementById(DOM_APP_EL_ID)); });