fix(SimpleWebTransport): Default setup for reverse proxy

This commit is contained in:
MrGadget 2024-06-26 19:33:20 -04:00
parent 9cedb7e089
commit d147e8da0e

View File

@ -51,7 +51,7 @@ public class SimpleWebTransport : Transport, PortTransport
[Header("Server settings")] [Header("Server settings")]
[Tooltip("Port to use for server")] [Tooltip("Port to use for server")]
public ushort port = 7778; public ushort port = 27777;
public ushort Port public ushort Port
{ {
get 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")] [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 bool clientUseWss;
public ClientWebsocketSettings clientWebsocketSettings; public ClientWebsocketSettings clientWebsocketSettings = new ClientWebsocketSettings { ClientPortOption = WebsocketPortOption.DefaultSameAsServer, CustomClientPort = 7777 };
[Header("Logging")] [Header("Logging")]