File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -152,20 +152,6 @@ export class FunctionsService implements _FirebaseService {
152
152
153
153
return `https://${ this . region } -${ projectId } .cloudfunctions.net/${ name } ` ;
154
154
}
155
-
156
- /**
157
- * Returns the emulator URL if connected, or the provided URL.
158
- * @param url - The fallback URL.
159
- * @internal
160
- */
161
- _emulatorUrlOr ( url : string ) : string {
162
- const projectId = this . app . options . projectId ;
163
- if ( this . emulatorOrigin !== null ) {
164
- const origin = this . emulatorOrigin ;
165
- return `${ origin } /${ projectId } /${ this . region } /${ name } ` ;
166
- }
167
- return url ;
168
- }
169
155
}
170
156
171
157
/**
@@ -213,7 +199,7 @@ export function httpsCallableFromURL<RequestData, ResponseData>(
213
199
return ( data => {
214
200
return callAtURL (
215
201
functionsInstance ,
216
- functionsInstance . _emulatorUrlOr ( url ) ,
202
+ url ,
217
203
data ,
218
204
options || { }
219
205
) ;
You can’t perform that action at this time.
0 commit comments