From 8e6a157560c07cf511507e9b7894aef2056eee2e Mon Sep 17 00:00:00 2001 From: Richard Possnett <95437308+dbb789@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:36:34 +0100 Subject: [PATCH] feat(SimpleWebTransport): Allow https URI scheme (#3850) --- .../SimpleWeb/SimpleWeb/Client/StandAlone/ClientSslHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/ClientSslHelper.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/ClientSslHelper.cs index b033241ec..4187d2ab5 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/ClientSslHelper.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/ClientSslHelper.cs @@ -11,7 +11,7 @@ internal class ClientSslHelper internal bool TryCreateStream(Connection conn, Uri uri) { NetworkStream stream = conn.client.GetStream(); - if (uri.Scheme != "wss") + if (uri.Scheme != "wss" && uri.Scheme != "https") { conn.stream = stream; return true;