import React from 'react';
import { Route, IndexRoute } from 'react-router';

import App from './components/App';

export default (
  <Route path="/" component={App}>
  </Route>
);

import React from 'react';
import { Route, IndexRoute } from 'react-router';

import App from './components/App';

export default (
  <Route path="*" component={App}>
  </Route>
);

update router