1
1
I'm trying to use Firebase hosting rewrites config to use a Firebase function at Asia region. But I cannot find any document to do this.
Basically, I want to access my Firebase app
function at the asia-northeast1
region by https://<target-name>.firebaseapp.com/
.
What config (firebase.json
) I'm trying:
{
"hosting": {
"target": "my-target",
"public": "public",
"region": "asia-northeast1", // attempt #1
"rewrites": [
{
"region": "asia-northeast1", // attempt #2
"source": "**",
"function": "app"
}
]
}
}