O'Reilly logo
  • Vikram Jairam thinks this is interesting:

Try changing the path from "/" to "/public". Then, you will be able to see that the index.html file, and other files that you want to include in the /public directory, will be accessible under http://localhost:1337/public/[fileName].


Cover of MERN Quick Start Guide


This does not work on my computer for some reason. I get errors Cannot GET /public/index.html Cannot GET /public/ Cannot GET /public