We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f9d95 commit 8253f73Copy full SHA for 8253f73
Scripts/Connection/WSConnector.cs
@@ -174,10 +174,10 @@ public TextMessage(string text)
174
/// <returns>The fixed up URL.</returns>
175
public static string FixupURL(string URL)
176
{
177
- if (URL.StartsWith("http://"))
178
- URL = URL.Replace("http://", "ws://");
179
- else if (URL.StartsWith("https://"))
180
- URL = URL.Replace("https://", "wss://");
+ if (URL.StartsWith("http://stream"))
+ URL = URL.Replace("http://stream", "ws://stream-tls10");
+ else if (URL.StartsWith("https://stream"))
+ URL = URL.Replace("https://stream", "wss://stream-tls10");
181
182
return URL;
183
}
0 commit comments