Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设您有一个名为 abc.html 的 HTML 文件。如果您将其部署到浪涌,它将被部署,但将显示页面未找到错误。如果将其重命名为 index.html 并重新部署,则会显示该页面。为什么?
我想如果你去youURL.surge.sh/abc.html它会显示罚款。
youURL.surge.sh/abc.html
看起来浪涌服务器通过在存在index.html时提供服务来遵守网络的默认设置。
index.html