Skip to content

Commit 05e6e0a

Browse files
committed
Code review
1 parent f61ba5a commit 05e6e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages-exp/functions-exp/src/service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ export class FunctionsService implements _FirebaseService {
101101
try {
102102
const url = new URL(regionOrCustomDomain);
103103
this.customDomain = url.origin;
104-
this.region = 'us-central1';
104+
this.region = DEFAULT_REGION;
105105
} catch (e) {
106106
this.customDomain = null;
107-
this.region = DEFAULT_REGION;
107+
this.region = regionOrCustomDomain;
108108
}
109109
}
110110

0 commit comments

Comments
 (0)