I have publish the UI inside the api Service, but I want to start the url from '/'.But it is coming as the http://localhost:8090/UI/.the problem is that in route config I have set the routing as:-
ReactDOM.render((
<Router history={browserHistory}>
<Route path="/" component={Login}/>
<Route path="main" component={main}>
<IndexRoute component={Home} />
<Route path = "/Accession" component = {Home} />
<Route path="/contact" component={Contact}/>
</Route>
</Router>
), document.getElementById('App'));
Error: /UI/ is not defined in route.To solve this I have to change the route as Route path="/UI/".How can I set the '/' as the initial path?