问题
I have a http triggered cloud function deployed in the europe-west1 region and a web app hosted with firebase hosting. I have also setup a rewrite to that http function in my firebase.json file.
I have noticed that the rewrite only works with us-central1 functions.
Is there a way to make the rewrite work with europe-west1 functions?
回答1:
Now that there is official support for other regions it states in the docs that "If you are using HTTP functions to serve dynamic content for hosting, you must use us-central1". So i think we have to wait and see if they will change that.
来源:https://stackoverflow.com/questions/51178657/rewrite-routes-from-hosting-to-cloud-functions-from-other-regions-than-us-centra