Skip to content

Change firebase function regions whilst using Firebase Hosting #2302

Open
@danwillm

Description

@danwillm
  • Operating System version: Windows 10
  • Browser version: Google chrome 78.0.3904.70
  • Firebase SDK version: v7.6.1
  • Firebase Product: Firebase functions + Firebase hosting

Hi,

I'm currently using the javascript firebase sdk and I currently load the firebase sdk through reserved hosting urls. I currenly have it so that it loads the config through the reserved urls, but I am looking to change my firebase functions region.

The issue that I am having is that it will not change the region when using the reserved hosting urls:

I can perfectly well use the default american region, but I would like to change it to another:

var functions = firebase.app().functions('europe-west2');;
This is what I currently have tried, which is from the docs, with no success.

Network requests also link to the us-central1 region.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions