4

我有一个使用 firebase 托管的 SPA。我目前有一个连接到应用程序的自定义域。

即 mycustomedomain.com 将用户定向到 myapp.firebaseapp.com

. 但是我现在想要实现的是将多个自定义域重定向到特定的应用程序 url 路由。同时将 url 栏中的地址保留为原始 customedomain 即

mycustomdomainB.com --> myapp.firebaseapp.com/routeB
mycustomdomainC.com --> myapp.firebaseapp.com/routeC
mycustomdomainD.com --> myapp.firebaseapp.com/routeD
mycustomdomainE.com --> myapp.firebaseapp.com/routeE

这可以通过 Firebase 托管实现吗?如果是这样怎么办?我可以通过域提供商(谷歌域)使用永久重定向来实现这一点吗?

4

0 回答 0