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

Discussão em 'Angular' iniciado por Ashvin Pal, Outubro 29, 2024.

  1. Ashvin Pal

    Ashvin Pal Guest

    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!

    Continue reading...

Compartilhe esta Página