&quot www。''不在firebase托管的网站上工作
我使用免费的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
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用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.