例如,我已经设置了一个免费的开发者帐户,并将我的数据库放在以下网址上:
example-name-123.firebaseio.com
是否可以更改 'example-name-123
' 网址的一部分?如果是,怎么办?
我知道我总是可以购买域名并在该 URL 上托管 firebase,但我想知道这是否是一个选项。
非常感谢您抽出时间!
项目一旦创建,就无法编辑project-id
. The project-id
是托管的默认站点名称。要获取不同的站点名称:
-
您可以设置与 firebase 控制台提供的名称不同的名称在项目创建时。
因此,您可以编辑建议的项目名称,例如,example-name-123.firebaseio.com
喜欢my-web-app.firebaseio.com
-
一个项目可以有多个站点。去https://console.firebase.google.com/project/{your-project-id}/hosting/sites https://console.firebase.google.com/project/%7Byour-project-id%7D/hosting/sites然后单击Add Another Site.
您可以为新网站指定新名称(即使您无法编辑现有名称!)
你可以阅读here https://firebase.google.com/docs/hosting/multisites?authuser=0了解更多
现在,Firebase 为 Firebase 上托管的所有网站推出了 web.app 域,您的网站也可以通过以下方式访问:my-web-app.web.app
此外my-web-app.firebaseio.com
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)