mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-14 04:56:37 +00:00
fix: cert path
This commit is contained in:
parent
37601ffd73
commit
58d5a9133b
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ namespace PepperDash.Core
|
||||||
);
|
);
|
||||||
|
|
||||||
#if NET472
|
#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);
|
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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue