Skip to content

Commit 543f0ce

Browse files
committed
Change the default App Hosting region to us-east4
1 parent feb366e commit 543f0ce

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/apphosting/backend.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ describe("apphosting setup functions", () => {
347347

348348
describe("promptLocation", () => {
349349
const supportedLocations = [
350-
{ name: "us-central1", locationId: "us-central1" },
350+
{ name: "us-east4", locationId: "us-east4" },
351351
{ name: "us-west1", locationId: "us-west1" },
352352
];
353353

@@ -358,16 +358,16 @@ describe("apphosting setup functions", () => {
358358

359359
it("returns a location selection", async () => {
360360
const location = await promptLocation(projectId, /* prompt= */ "");
361-
expect(location).to.be.eq("us-central1");
361+
expect(location).to.be.eq("us-east4");
362362
});
363363

364364
it("uses a default location prompt if none is provided", async () => {
365365
await promptLocation(projectId);
366366

367367
expect(promptStub.select).to.be.calledWith({
368-
default: "us-central1",
368+
default: "us-east4",
369369
message: "Please select a location:",
370-
choices: ["us-central1", "us-west1"],
370+
choices: ["us-east4", "us-west1"],
371371
});
372372
});
373373

src/apphosting/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const DEFAULT_LOCATION = "us-central1";
1+
export const DEFAULT_LOCATION = "us-east4";
22
export const DEFAULT_DEPLOY_METHOD = "github";
33
export const ALLOWED_DEPLOY_METHODS = [{ name: "Deploy using github", value: "github" }];

0 commit comments

Comments
 (0)