This is my route file. For some reason the routing stopped to work while I was updating a component. Now I'm getting the error below to my main page:
Cannot GET /
Route file:
/* ERROR PAGES */
var notfound = require('./routes/notfound.jsx');
/* APP PAGES */
var charts = require('./routes/app/charts.jsx');
/* ROUTES */
module.exports = (
<Route handler={ReactRouter.RouteHandler}>
<DefaultRoute handler={charts} />
<Route path='/' handler={charts} />
<NotFoundRoute handler={notfound} />
</Route>
);
There is no error on the console. Just the message "Cannot GET /" and a 404 code.
I'm using React-Router.