【问题标题】:Firebase call Google Cloud function issue - two functions with the same nameFirebase 调用 Google Cloud 函数问题 - 两个同名函数
【发布时间】:2019-04-21 20:58:45
【问题描述】:

我有两个同名但位于两个不同区域的 Google Cloud 函数。

如何指定应该调用哪个函数(因为其中有两个同名)?

我的 firebase.json 文件:

{
  "hosting": {
    "public": "public",
    "rewrites": [
      {
        "source": "/test",
        "function": "paaspiutil"
      }
    ]
  }
}

【问题讨论】:

    标签: firebase google-cloud-functions firebase-hosting


    【解决方案1】:

    如果您想将其链接到托管 as referenced in a previous answerheres the links to the docs,您目前只能在 us-central1 中部署功能

    【讨论】:

      猜你喜欢
      • 2019-12-13
      • 1970-01-01
      • 2020-02-09
      • 2021-01-18
      • 1970-01-01
      • 2019-03-08
      • 2021-03-20
      • 2022-08-19
      • 1970-01-01
      相关资源
      最近更新 更多