From 9443bc5c3f7c294306c65176c132e4254c3f70b0 Mon Sep 17 00:00:00 2001 From: Nathan Azaria Date: Mon, 13 Jun 2016 13:15:30 -0700 Subject: [PATCH] Changed the host for RCTWebSocketExecutor to the one retrieved from the bridge. Reviewed By: javache Differential Revision: D3425043 fbshipit-source-id: 342d3dfede6a29197dedb68278ee088dcf009e16 --- Libraries/WebSocket/RCTWebSocketExecutor.m | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Libraries/WebSocket/RCTWebSocketExecutor.m b/Libraries/WebSocket/RCTWebSocketExecutor.m index d11505974..c9696c1bb 100644 --- a/Libraries/WebSocket/RCTWebSocketExecutor.m +++ b/Libraries/WebSocket/RCTWebSocketExecutor.m @@ -13,6 +13,7 @@ #import "RCTWebSocketExecutor.h" +#import "RCTBridge.h" #import "RCTConvert.h" #import "RCTLog.h" #import "RCTUtils.h" @@ -36,6 +37,8 @@ typedef void (^RCTWSMessageCallback)(NSError *error, NSDictionary