Rewrite routes from hosting to cloud functions from other regions than us-central1

天大地大妈咪最大 提交于 2019-12-31 12:59:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!