mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Change default Inspector Proxy port to 8081
Summary: Change default Inspector Proxy port to 8081 Reviewed By: cwdick Differential Revision: D14745974 fbshipit-source-id: f4b3b158f55c6f5f1b3d9cc2528c5ddb59774a8b
This commit is contained in:
committed by
Facebook Github Bot
parent
7f6ab5068c
commit
f00d1b8518
@@ -32,7 +32,7 @@ static NSString *getServerHost(NSURL *bundleURL, NSNumber *port)
|
||||
|
||||
static NSURL *getInspectorDeviceUrl(NSURL *bundleURL)
|
||||
{
|
||||
NSNumber *inspectorProxyPort = @8082;
|
||||
NSNumber *inspectorProxyPort = @8081;
|
||||
NSString *escapedDeviceName = [[[UIDevice currentDevice] name] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet];
|
||||
NSString *escapedAppName = [[[NSBundle mainBundle] bundleIdentifier] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet];
|
||||
return [NSURL URLWithString:[NSString stringWithFormat:@"http://%@/inspector/device?name=%@&app=%@",
|
||||
|
||||
Reference in New Issue
Block a user