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

import App from './containers/App';
import DiscoPane from './containers/DiscoPane';

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

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

import App from './containers/App';
import DiscoPane from './containers/DiscoPane';

export default (
  <Route path="/" component={App}>
    <IndexRoute component={DiscoPane} />
    <Route
      path="/:locale/firefox/discovery/pane/:version/:platform/:compatibilityMode"
      component={DiscoPane}
    />
  </Route>
);

Support the disco pane URL format (fixes #306) (#410)