add public folder to resources, and serve index.html by default