我正在使用 Google Cloud Platform 托管一个静态网站。我不知道如何从 URL 中删除 .html 文件扩展名。理想情况下,我希望我的网址为“ https://www.website.com/index ”
我曾尝试使用 .htaccess 文件,但没有任何运气。我看到人们谈论使用名为“app.yaml”的文件,但我仍然感到困惑。
从 Google Cloud Platform URL 中删除 .html 文件扩展名的最佳方法是什么?
html google-cloud-platform
google-cloud-platform ×1
html ×1