mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
feat(SimpleWebTransport): Allow https URI scheme (#3850)
This commit is contained in:
parent
9ea5b3006a
commit
35c1055e24
@ -11,7 +11,7 @@ internal class ClientSslHelper
|
|||||||
internal bool TryCreateStream(Connection conn, Uri uri)
|
internal bool TryCreateStream(Connection conn, Uri uri)
|
||||||
{
|
{
|
||||||
NetworkStream stream = conn.client.GetStream();
|
NetworkStream stream = conn.client.GetStream();
|
||||||
if (uri.Scheme != "wss")
|
if (uri.Scheme != "wss" && uri.Scheme != "https")
|
||||||
{
|
{
|
||||||
conn.stream = stream;
|
conn.stream = stream;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user