Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3492835
D5692.id18625.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
428 B
Referenced Files
None
Subscribers
None
D5692.id18625.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
@@ -14,7 +14,6 @@
const devIsEmulator: boolean = __DEV__ && DeviceInfo.isEmulatorSync();
function getDevServerHostname(): string {
- invariant(__DEV__, 'getDevServerHostname called from production');
if (!devIsEmulator) {
checkForMissingNatDevHostname();
return natDevHostname;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 1:48 AM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679128
Default Alt Text
D5692.id18625.diff (428 B)
Attached To
Mode
D5692: [native] Allow getDevServerHostname to be called from release mode
Attached
Detach File
Event Timeline
Log In to Comment