Page MenuHomePhabricator

D6269.diff
No OneTemporary

D6269.diff

diff --git a/native/utils/url-utils.js b/native/utils/url-utils.js
--- a/native/utils/url-utils.js
+++ b/native/utils/url-utils.js
@@ -45,14 +45,10 @@
return getDevLandingURLFromHostname(hostname);
}
-const nodeServerOptions = [productionNodeServerURL];
-if (Platform.OS === 'android') {
- nodeServerOptions.push(
- getDevNodeServerURLFromHostname(localhostHostnameFromAndroidEmulator),
- );
-} else {
- nodeServerOptions.push(getDevNodeServerURLFromHostname(localhostHostname));
-}
+const nodeServerOptions: string[] = [
+ productionNodeServerURL,
+ getDevNodeServerURL(),
+];
const defaultURLPrefix: string = __DEV__
? getDevNodeServerURL()

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 9:00 PM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495558
Default Alt Text
D6269.diff (664 B)

Event Timeline