mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix(SimpleWebTransport): Default setup for reverse proxy
This commit is contained in:
parent
9cedb7e089
commit
d147e8da0e
@ -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")]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user