removed slash from path replacement of index.html.