File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -249,16 +249,16 @@ private void setUpUrlConnection(
249
249
}
250
250
251
251
private String getFetchUrl (String projectNumber , String namespace ) {
252
- String fetchRegexUrl = FETCH_REGEX_URL ;
253
252
if (emulatedServiceSettings != null ) {
254
- fetchRegexUrl =
255
- "http://"
253
+ return "http://"
256
254
+ emulatedServiceSettings .getHost ()
257
255
+ ":"
258
256
+ emulatedServiceSettings .getPort ()
259
- + "/v1/projects/%s/namespaces/%s:fetch" ;
257
+ + "/v1/projects/" + projectNumber
258
+ + "/namespaces/" + namespace
259
+ + ":fetch" ;
260
260
}
261
- return String .format (fetchRegexUrl , projectNumber , namespace );
261
+ return String .format (FETCH_REGEX_URL , projectNumber , namespace );
262
262
}
263
263
264
264
private void setCommonRequestHeaders (
You can’t perform that action at this time.
0 commit comments