**history.js**

```
var createBrowserHistory = require('history/lib/createBrowserHistory');

var history = createBrowserHistory();

module.exports = history;

```

**routes.js**:

```jsx
'use strict';
var React = require('react'),
    ReactRouter = require('react-router'),
    Router = ReactRouter.Router,
    Route = ReactRouter.Route,
    NotFoundRoute = ReactRouter.NotFoundRoute,
    IndexRoute = require('react-router').IndexRoute,
    history = require('./history.js'),
    App = require('./components/app.js'),
    SignupPage = require('./components/signupPage/signupPage.js'),
    SignupSuccessPage = require('./components/signupSuccessPage/signupSuccessPage.js'),
    NotFoundPage = require('./components/notFoundPage/notFoundPage.js');

var routes = (
  <Router history={history}>
    <Route path='/(:languageCode)' component={App} >
      <IndexRoute component={SignupPage} />
      <Route path='/success' component={SignupSuccessPage} />
      <Route path='*' component={NotFoundPage} />
    </Route>
  </Router>
);

module.exports = routes;

```

**index.html**:

```html
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>signup page</title>
    <link rel="stylesheet" href="css/bundle.css" />
    <script src="scripts/vendors.bundle.js" type="text/javascript" defer></script>
    <script src="scripts/bundle.js" type="text/javascript" defer></script>
  </head>
  <body>
    <div id="app"></div>
  </body>
</html>

```

Loading url : `http://localhost:9005/en` (works as expected)  

Loading url: `http://localhost:9005/fr` (works as expected) 

However loading url: `http://localhost:9005/en/success` (does NOT work as expected) 

In google's developer console I see requests to files:

```
http://localhost:9005/en/css/bundle.css 
http://localhost:9005/en/scripts/vendors.bundle.js 
http://localhost:9005/en/scripts/vendors.vendor.js

```

However if you look at the `index.html` file above the urls should be

```
http://localhost:9005/css/bundle.css 
http://localhost:9005/scripts/vendors.bundle.js 
http://localhost:9005/scripts/vendors.vendor.js

```

I am not sure how /en/ is part of the urls for .css and .js files.