2

I've got two Google Cloud functions with the same name but in two different regions.

How do I specify which function should be called (as there are two of them with the same name)?

My firebase.json file:

{
  "hosting": {
    "public": "public",
    "rewrites": [
      {
        "source": "/test",
        "function": "paaspiutil"
      }
    ]
  }
}
Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286

1 Answers1

2

You can current only deploy functions in us-central1 if you want to link it to hosting as referenced in a previous answer and heres the links to the docs

Jack Woodward
  • 991
  • 5
  • 9