0
我想这一点 - >例如myapp.com/myurl/托管Firebase.json SEO友好的URL
这是自定义配置
"rewrites": [ {
"source": "**",
"destination": "/index.html"
} ]
结果是这样的myapp.com/myurl与此配置
我想这一点 - >例如myapp.com/myurl/托管Firebase.json SEO友好的URL
这是自定义配置
"rewrites": [ {
"source": "**",
"destination": "/index.html"
} ]
结果是这样的myapp.com/myurl与此配置
有一个trailingslash的部署选项,您应该将其设置为true。 Firebase Hosting Config
"trailingSlash": true
虽然此链接可以回答这个问题,最好是在这里有答案的主要部件,并提供 链接以供参考。如果链接页面更改,则仅链接答案可能会失效。请阅读此[如何回答](http://stackoverflow.com/help/how-to-answer)以提供高质量的答案。 – thewaywewere