Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
242 views
in Technique[技术] by (71.8m points)

angular - AngularFire SSR hosting function defaults to uscentra1. How do you change it?

I have followed this guide to setup my angular app with ssr. It currently defaults to uscentral1 region when deploying my angular app. I cant seem to find a way to change the region where the function is deploy to. I currently use ng deploy to deploy my app. I tried changing the deploy settings in angular.json file but nothing changed. I added a the following to angular.json but the function still deployed to uscentral1

        "deploy": {
          "builder": "@angular/fire:deploy",
          "options": {
            "functionsNodeVersion": 12,
            "ssr": true,
            "region": "europe-west6"
          }

I am using Angular 11, Firebase 8.2.4 and AngularFire 6.1.4.

Thanks in Advance!

question from:https://stackoverflow.com/questions/65907717/angularfire-ssr-hosting-function-defaults-to-uscentra1-how-do-you-change-it

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...