From 40f540e23a47075c972787dac2e9215f50259a4d Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Mon, 20 Nov 2023 13:11:46 -0700 Subject: [PATCH] fix: fix rootPath for wss server --- src/Pepperdash Core/Logging/DebugWebsocketSink.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pepperdash Core/Logging/DebugWebsocketSink.cs b/src/Pepperdash Core/Logging/DebugWebsocketSink.cs index f054419..9ad30d6 100644 --- a/src/Pepperdash Core/Logging/DebugWebsocketSink.cs +++ b/src/Pepperdash Core/Logging/DebugWebsocketSink.cs @@ -112,10 +112,10 @@ public void StartServerAndSetPort(int port) Debug.Console(0, "Starting Websocket Server on port: {0}", port); - Start(port, $"\\user\\{_certificateName}.pfx", _certificatePassword, @"\html\wss"); + Start(port, $"\\user\\{_certificateName}.pfx", _certificatePassword, @""); } - private void Start(int port, string certPath = "", string certPassword = "", string rootPath = @"\html") + private void Start(int port, string certPath = "", string certPassword = "", string rootPath = @"/html") { try {