moved redirect into index.html