mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-15 12:44:48 +00:00
fix: fix rootPath for wss server
This commit is contained in:
@@ -112,10 +112,10 @@ namespace PepperDash.Core
|
|||||||
Debug.Console(0, "Starting Websocket Server on port: {0}", 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
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user