We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b8525 commit 9d1fdcbCopy full SHA for 9d1fdcb
packages/functions/src/service.ts
@@ -122,7 +122,7 @@ export class FunctionsService implements _FirebaseService {
122
// Resolve the region or custom domain overload by attempting to parse it.
123
try {
124
const url = new URL(regionOrCustomDomain);
125
- this.customDomain = url.origin;
+ this.customDomain = url.origin + url.pathname;
126
this.region = DEFAULT_REGION;
127
} catch (e) {
128
this.customDomain = null;
0 commit comments