【发布时间】:2020-08-29 21:54:12
【问题描述】:
我之前在 Firebase 上托管了我的网站,网址为:https://oldurl.firebaseapp.com/ 并且该应用程序已过时。
最近我更新了应用程序并决定尝试 Vercel,并在此 URL 上创建了我的网站实例:https://newurl.now.sh/
现在我不希望用户转到以前的 firebase 域并查看过时的应用程序。我想要的是将用户从 firebase 域重定向到新的 Vercel 域。
假设当用户访问这个 URL https://oldurl.firebaseapp.com/,我想将他们重定向到这个 URL:https://newurl.now.sh/
我该怎么做?
【问题讨论】:
-
我可以访问我的 Firebase 设置