2017-06-05 98 views
0

我想這一點 - >例如myapp.com/myurl/託管Firebase.json SEO友好的URL

這是自定義配置

"rewrites": [ { 
    "source": "**", 
    "destination": "/index.html" 
} ] 

結果是這樣的myapp.com/myurl與此配置

回答

0

有一個trailingslash的部署選項,您應該將其設置爲true。 Firebase Hosting Config

"trailingSlash": true 
+2

雖然此鏈接可以回答這個問題,最好是在這裏有答案的主要部件,並提供 鏈接以供參考。如果鏈接頁面更改,則僅鏈接答案可能會失效。請閱讀此[如何回答](http://stackoverflow.com/help/how-to-answer)以提供高質量的答案。 – thewaywewere