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:
Walter Luh 2016-02-26 18:17:22 -08:00 committed by Facebook Github Bot 9
parent 3812c74e7c
commit 8a042f4654
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ RCT_EXPORT_MODULE()
NSString *scheme = [_bridge.bundleURL scheme]; NSString *scheme = [_bridge.bundleURL scheme];
NSNumber *port = [_bridge.bundleURL port]; 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 // TODO: Move non-UI logic into separate RCTDevSettings module