Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32240516
D6269.1765226062.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
664 B
Referenced Files
None
Subscribers
None
D6269.1765226062.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
Mon, Dec 8, 8:34 PM (6 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5850569
Default Alt Text
D6269.1765226062.diff (664 B)
Attached To
Mode
D6269: [native] Fix server list in Dev tools menu
Attached
Detach File
Event Timeline
Log In to Comment