From 0c395d5d6cb9855b3471c9560cc82e6638c1c44d Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:33:20 -0400 Subject: [PATCH] fix(SimpleWebTransport): Default setup for reverse proxy --- Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs index 093e0f53c..d54162840 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs @@ -51,7 +51,7 @@ public class SimpleWebTransport : Transport, PortTransport [Header("Server settings")] [Tooltip("Port to use for server")] - public ushort port = 7778; + public ushort port = 27777; public ushort Port { get @@ -90,7 +90,7 @@ public ushort Port [Tooltip("Sets connect scheme to wss. Useful when client needs to connect using wss when TLS is outside of transport.\nNOTE: if sslEnabled is true clientUseWss is also true")] public bool clientUseWss; - public ClientWebsocketSettings clientWebsocketSettings; + public ClientWebsocketSettings clientWebsocketSettings = new ClientWebsocketSettings { ClientPortOption = WebsocketPortOption.DefaultSameAsServer, CustomClientPort = 7777 }; [Header("Logging")]