Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3246089
D6269.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
664 B
Referenced Files
None
Subscribers
None
D6269.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6269: [native] Fix server list in Dev tools menu
Attached
Detach File
Event Timeline
Log In to Comment