fix: cert path

This commit is contained in:
Nick Genovese
2024-11-05 10:32:20 -05:00
parent 37601ffd73
commit 58d5a9133b

View File

@@ -103,7 +103,7 @@ namespace PepperDash.Core
);
#if NET472
var certPath = IsRunningOnAppliance ? Path.Combine("/", "user") : Path.Combine("/", "User");
var certPath = IsRunningOnAppliance ? Path.Combine("/", "user", "cert.pfx") : Path.Combine("/", "User", "cert.pfx");
var websocket = new DebugNet472WebSocket(certPath);
WebsocketUrl = websocket.Url;
DefaultLoggerConfiguration.WriteTo.Sink(new DebugWebsocketSink(websocket, new JsonFormatter(renderMessage: true)), levelSwitch: WebsocketLoggingLevelSwitch);