mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 22:32:38 +08:00
Minor path change for message socket between packager and bridge (3/N)
Summary: New path is '{base_url}/message?role=shell'
Reviewed By: javache
Differential Revision: D2957640
fb-gh-sync-id: 2994857d874fd2314c9056e71acda008573911eb
shipit-source-id: 2994857d874fd2314c9056e71acda008573911eb
This commit is contained in:
committed by
Facebook Github Bot 9
parent
3812c74e7c
commit
8a042f4654
@@ -239,7 +239,7 @@ RCT_EXPORT_MODULE()
|
||||
|
||||
NSString *scheme = [_bridge.bundleURL scheme];
|
||||
NSNumber *port = [_bridge.bundleURL port];
|
||||
return [NSURL URLWithString:[NSString stringWithFormat:@"%@://%@:%@/packager-proxy?role=client", scheme, host, port]];
|
||||
return [NSURL URLWithString:[NSString stringWithFormat:@"%@://%@:%@/message?role=shell", scheme, host, port]];
|
||||
}
|
||||
|
||||
// TODO: Move non-UI logic into separate RCTDevSettings module
|
||||
|
||||
Reference in New Issue
Block a user