Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3716359
D6332.id21163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
572 B
Referenced Files
None
Subscribers
None
D6332.id21163.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
@@ -34,13 +34,11 @@
}
function getDevNodeServerURL(): string {
- invariant(__DEV__, 'getDevNodeServerURL called from production');
const hostname = getDevServerHostname();
return getDevNodeServerURLFromHostname(hostname);
}
function getDevLandingURL(): string {
- invariant(__DEV__, 'getDevLandingURL called from production');
const hostname = getDevServerHostname();
return getDevLandingURLFromHostname(hostname);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 9:38 AM (2 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2831554
Default Alt Text
D6332.id21163.diff (572 B)
Attached To
Mode
D6332: [native] Avoid invariant crash in getDevNodeServerURL
Attached
Detach File
Event Timeline
Log In to Comment