fix: fixed cert name to be the same as previous

This commit is contained in:
Nick Genovese
2024-11-05 10:35:22 -05:00
parent 58d5a9133b
commit 1d20f6d1ed

View File

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