firebase hosting:disable

Category: Firebase & Firestore

firebase hosting:disable

Take the Hosting site offline

Stops serving web traffic for the default Hosting site, showing a temporary maintenance page instead, after a confirmation prompt unless you pass -f. It does not delete the site or its content. Re-enable hosting by deploying again or in the console. Use -s site-name to target a specific site.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.