我正在尝试使用 Firebase 托管重写配置以在亚洲地区使用 Firebase 功能。但是我找不到任何文档来执行此操作。
基本上,我想通过访问我在该区域的 Firebaseapp
函数。asia-northeast1
https://<target-name>.firebaseapp.com/
firebase.json
我正在尝试什么配置( ):
{
"hosting": {
"target": "my-target",
"public": "public",
"region": "asia-northeast1", // attempt #1
"rewrites": [
{
"region": "asia-northeast1", // attempt #2
"source": "**",
"function": "app"
}
]
}
}