Added auth header for console streaming
This commit is contained in:
@@ -39,6 +39,9 @@ public class ServerConsole
|
|||||||
{
|
{
|
||||||
WebSocket = new();
|
WebSocket = new();
|
||||||
|
|
||||||
|
// Set auth header
|
||||||
|
WebSocket.Options.SetRequestHeader("Authorization", Server.Node.Token);
|
||||||
|
|
||||||
string wsUrl;
|
string wsUrl;
|
||||||
|
|
||||||
if (Server.Node.Ssl)
|
if (Server.Node.Ssl)
|
||||||
|
|||||||
Reference in New Issue
Block a user