change base url to '' for easy deploying single page app.