the response now sends an index.html file from the public directory instead of a string