Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I reset the default project hosting with firebase?

I have been using firebase to test apps. I set a certain project as the default. Now I would like to deploy a different project but do not understand how to remove the previous project as a default. (I have almost no experience using the terminal).

like image 585
Quddus George Avatar asked Sep 15 '18 11:09

Quddus George


People also ask

How do I change the default project in firebase hosting?

Show activity on this post. Then in the list of projects, select your project. And then finally for the alias name enter default (or whatever you entered before). For a full list of the commands, have a look at the reference documentation of the Firebase CLI.

How do I remove firebase hosting from project?

Go to the Firebase Hosting console for your project, you will see your domain. Hover over your domain. There's an overflow menu ( ⋮ three vertical dots) on the right. From the overflow menu select Delete Domain.

How do I remove a default domain from firebase?

According to them, you can not disable, remove, hide or make them private. Meaning they will always be there and be accessible to the public... Their official answer; what you can do is to add in the header (suggested by Firebase Hosting):


1 Answers

You can change the default project that the Firebase CLI uses in a directory by running:

firebase use --add

Then in the list of projects, select your project. And then finally for the alias name enter default (or whatever you entered before).

For a full list of the commands, have a look at the reference documentation of the Firebase CLI.

like image 93
Frank van Puffelen Avatar answered Sep 25 '22 07:09

Frank van Puffelen