add index.html to resource and public dir