Maintenance Mode for Firebase Hosting
- #Firebase
- #Firebase Hosting
- #Maintenance
Maintenance Mode for Firebase Hosting
Learn how to create a maintenance mode for Firebase Hosting.
// Filename: firebase.json
{
"hosting": {
"public": "build",
"ignore": [],
"redirects": [
{
"source": "/index.html",
"destination": "/maintenance.html",
"type": 307
}
],
"headers": [
{
"source": "/maintenance.html",
"headers": [ {
"key": "status",
"value": "503"
} ]
}
]
}
}
0 Comments
Sign in to join the conversation.