Browse Source

fix proxy

marinofaggiana 6 năm trước cách đây
mục cha
commit
835761e25a
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      iOSClient/Networking/OCNetworking.m

+ 3 - 3
iOSClient/Networking/OCNetworking.m

@@ -1586,9 +1586,9 @@
     
     devicePublicKey = [CCUtility URLEncodeStringFromString:devicePublicKey];
     NSString *proxyServerPath = [NCBrandOptions sharedInstance].pushNotificationServerProxy;
-    proxyServerPath = @"http://127.0.0.1:8088";
+    //    proxyServerPath = @"http://127.0.0.1:8088";
     NSString *proxyServer = [NCBrandOptions sharedInstance].pushNotificationServerProxy;
-    proxyServer = @"https://10.132.0.37:8443/pushnotifications";
+    //    proxyServer = @"https://10.132.0.37:8443/pushnotifications";
     
     OCCommunication *communication = [OCNetworking sharedManager].sharedOCCommunication;
     
@@ -1645,7 +1645,7 @@
     }
     
     NSString *proxyServer = [NCBrandOptions sharedInstance].pushNotificationServerProxy;
-    proxyServer = @"https://10.132.0.37:8443/pushnotifications";
+    //    proxyServer = @"https://10.132.0.37:8443/pushnotifications";
     
     OCCommunication *communication = [OCNetworking sharedManager].sharedOCCommunication;