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:
Nurzhan Bakibayev
2019-04-03 08:34:28 -07:00
committed by Facebook Github Bot
parent 7f6ab5068c
commit f00d1b8518
2 changed files with 2 additions and 2 deletions

View File

@@ -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=%@",

View File

@@ -24,7 +24,7 @@ public class AndroidInfoHelpers {
public static final String METRO_HOST_PROP_NAME = "metro.host";
private static final int DEBUG_SERVER_HOST_PORT = 8081;
private static final int INSPECTOR_PROXY_PORT = 8082;
private static final int INSPECTOR_PROXY_PORT = 8081;
private static final String TAG = AndroidInfoHelpers.class.getSimpleName();