firebase / firebase/firebase-js-sdk
Change firebase function regions whilst using Firebase Hosting
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
* 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.

Contributor guide
Assessment
This issue has not been assessed yet.