&quot www。''不在firebase托管的网站上工作

发布于 2025-01-21 07:53:11 字数 631 浏览 1 评论 0原文

我使用免费的firebase托管托管了一个静态页面,但是发现如果我在完整URL之前使用www。,浏览器说“隐私错误”,这可能会吓到我的客户。

✔️example.web.app - works

<代码> www.example.web.app - 不起作用

错误消息屏幕截图

对于上下文,我是一名学生,决定使用firebase,因为他们的托管是免费的,最高为一定程度。我读到我可以通过购买一个域来解决此错误消息,但对我来说,这首先会打败使用Firebase的目的。 有关更多上下文,问题是我们雇用的设计工作室弄乱了,并打印了错误的URL。现在,我们有一堆无用的小册子,上面写着www.example.web.app

tl; dr。有没有一种方法可以重定向www.example.web.app example.web.app? 最好解释好像我5岁一样,Firebase和Hosting总体上对我来说太新了。 提前致谢。

I hosted a static page using Free Firebase Hosting, but found that if I used www. Before the full URL, the browser says "Privacy Error" and this could scare my customers.

✔️ example.web.app - Works

www.example.web.app - Doesn't work

Error message screenshot

For context, I'm a student and decided to use Firebase because their hosting is free, up to an extent. I read that I could fix this error message by buying a domain but that for me would defeat the purpose of using Firebase in the first place.
For more context, the problem is that the design studio we hired messed up and printed the wrong URL. Now we have a bunch of useless pamphlets that say www.example.web.app.

TL;DR. Is there a way to redirect www.example.web.app to example.web.app?
Preferably explain as if I were 5, Firebase and Hosting in general is too new for me.
Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

¢蛋碎的人ぎ生 2025-01-28 07:53:11

如果您使用Firebase(*.web.App)分配给您的域,请知道您无法更改域的工作方式。它已由Firebase完全控制,并自动免费维护,以便于您。

如果您想在URL中控制网站的名称,则需要 您是从一些DNS提供商那里购买的。

If you're using the domain assigned to you by Firebase (*.web.app), know that you can't change the way that domain works. It's fully under control by Firebase and maintained automatically for free as a convenience for you.

If you want control over your site's name in the URL, you will need to connect your own domain that you purchase from some DNS provider.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文