Skip to content

Commit cb4c17d

Browse files
committed
feat(WSConnector): Added support for Tokyo streaming endpoint. Corrected Frankfurt endpoint.
1 parent 0e8dff1 commit cb4c17d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Scripts/Connection/WSConnector.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ public static string FixupURL(string URL)
228228
URL = URL.Replace("https://stream-tls10.", "wss://stream-tls10.");
229229
}
230230
// Germany
231-
else if (URL.StartsWith("https://gateway-fra."))
231+
else if (URL.StartsWith("https://stream-fra."))
232232
{
233-
URL = URL.Replace("https://gateway-fra.", "wss://stream-fra.");
233+
URL = URL.Replace("https://stream-fra.", "wss://stream-fra.");
234234
}
235235
// US East
236236
else if (URL.StartsWith("https://gateway-wdc."))
@@ -242,6 +242,11 @@ public static string FixupURL(string URL)
242242
{
243243
URL = URL.Replace("https://gateway-syd.", "wss://gateway-syd.");
244244
}
245+
// Tokyo
246+
else if (URL.StartsWith("https://gateway-tok."))
247+
{
248+
URL = URL.Replace("https://gateway-tok.", "wss://gateway-tok.");
249+
}
245250
else
246251
{
247252
URL = URL.Replace(https, wss);

0 commit comments

Comments
 (0)