[英]My Deployed website is only showing readme.md on landing page
我部署的網站僅顯示readme.md。 我不確定我做錯了什么。 網站: https : //ssaba96.github.io/WDI-P2-funny-predictions/
我已經搜索了堆棧溢出這個問題,但是沒有得到明確的答案。
通過此鏈接可以看到所有代碼https://github.com/ssaba96/WDI-P2-funny-predictions
它看起來像你的快速服務器文件index.js你是靜態服務公用文件夾,當我認為你真的想要提供視圖文件夾? 試試吧
app.use(express.static('public'));
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.