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).
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.
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.
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):
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With