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