Deploying an application to Firebase hosting, I get the following error:
HTTP Error: 400, hosting.rewrites[0] is not exactly one from [subschema 0],[subschema 1]
This occurs with a simple configuration like:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/*/*",
"destination": "index.html"
}
]
}
}
This configuration does work when serving locally.