mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-13 03:34:49 +00:00
fix: cert path
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user