是否可以更改免费 Firebase 应用程序的子域?
Is it possible to change the subdomain on a free Firebase app?
例如,我已经建立了一个免费的开发者账户并且我的数据库在 url:
example-name-123.firebaseio.com
是否可以更改 url 的“example-name-123
”部分?如果是,如何?
我知道我可以随时购买域名并在该域名上托管 firebase URL,但我想知道这是否是一个选项。
非常感谢您的宝贵时间!
Firebase 上的任何用户(帐户)在 free/developer 计划中最多可以拥有 10 个应用程序。每个应用程序都有一个唯一的名称,并带有 database/authentication(在 https://<app-name>.firebaseio.com
上可用)和托管(在 https://<app-name>.firebaseapp.com
上可用)。
当您创建 Firebase 帐户时,系统会为您创建一个初始应用程序,名称格式为 glorious-firename-1234
。因此,使用该应用程序,您将拥有 https://glorious-firename-1234.firebaseio.com
和 https://glorious-firename-1234.firebaseapp.com
.
但您也可以使用更容易记住的名称创建自己的应用程序,例如lazytotoro
。这将导致 https://lazytotoro.firebaseio.com
和 https://lazytotoro.firebaseapp.com
。这适用于免费应用程序。
如果您想切换到 https://www.lazytotoro.com
或类似应用,您只需要一个付费应用。
项目创建后,您将无法编辑它 project-id
。 project-id
是托管的默认站点名称。要获取不同的站点名称:
您可以设置不同于 firebase 控制台 在项目创建时 提供的名称的其他名称。
因此,您可以编辑建议的项目名称,例如 example-name-123.firebaseio.com
喜欢 my-web-app.firebaseio.com
一个项目可以有多个站点。去
https://console.firebase.google.com/project/{your-project-id}/hosting/sites 并单击 Add Another Site.
您可以为您的新站点指定一个新名称(即使您不能编辑现有名称!)
您可以阅读 here 了解更多
现在,Firebase 为 Firebase 上托管的所有网站启动了 web.app 域除了 my-web-app.firebaseio.com
之外,还可以通过 my-web-app.web.app
访问托管您的网站
例如,我已经建立了一个免费的开发者账户并且我的数据库在 url:
example-name-123.firebaseio.com
是否可以更改 url 的“example-name-123
”部分?如果是,如何?
我知道我可以随时购买域名并在该域名上托管 firebase URL,但我想知道这是否是一个选项。
非常感谢您的宝贵时间!
Firebase 上的任何用户(帐户)在 free/developer 计划中最多可以拥有 10 个应用程序。每个应用程序都有一个唯一的名称,并带有 database/authentication(在 https://<app-name>.firebaseio.com
上可用)和托管(在 https://<app-name>.firebaseapp.com
上可用)。
当您创建 Firebase 帐户时,系统会为您创建一个初始应用程序,名称格式为 glorious-firename-1234
。因此,使用该应用程序,您将拥有 https://glorious-firename-1234.firebaseio.com
和 https://glorious-firename-1234.firebaseapp.com
.
但您也可以使用更容易记住的名称创建自己的应用程序,例如lazytotoro
。这将导致 https://lazytotoro.firebaseio.com
和 https://lazytotoro.firebaseapp.com
。这适用于免费应用程序。
如果您想切换到 https://www.lazytotoro.com
或类似应用,您只需要一个付费应用。
项目创建后,您将无法编辑它 project-id
。 project-id
是托管的默认站点名称。要获取不同的站点名称:
您可以设置不同于 firebase 控制台 在项目创建时 提供的名称的其他名称。 因此,您可以编辑建议的项目名称,例如
example-name-123.firebaseio.com
喜欢my-web-app.firebaseio.com
一个项目可以有多个站点。去 https://console.firebase.google.com/project/{your-project-id}/hosting/sites 并单击
Add Another Site.
您可以为您的新站点指定一个新名称(即使您不能编辑现有名称!) 您可以阅读 here 了解更多
现在,Firebase 为 Firebase 上托管的所有网站启动了 web.app 域除了 my-web-app.firebaseio.com
my-web-app.web.app
访问托管您的网站