
上QQ阅读APP看书,第一时间看更新
How it works...
Our index.html file will be shown because we specified "/" as the root directory where to look for assets.
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].