我有两个名称相同但位于两个不同区域的Google Cloud函数。
如何指定应调用哪个函数(因为其中两个具有相同的名称)?
我的firebase.json文件:
{
"hosting": {
"public": "public",
"rewrites": [
{
"source": "/test",
"function": "paaspiutil"
}
]
}
}
答案 0 :(得分:2)
如果您要将其链接到托管as referenced in a previous answer和heres the links to the docs
,则当前只能在us-central1中部署功能。