add simple installer/uninstaller

This commit is contained in:
Mikhail Thompson
2024-07-03 16:37:42 -04:00
parent 03373e7069
commit 4b1c5473d1
21 changed files with 857 additions and 35 deletions

View File

@@ -49,7 +49,7 @@ namespace nksrv
}
private static WebServer CreateWebServer()
{
var cert = new X509Certificate2(new X509Certificate(@"C:\Users\Misha\nkcert\site.pfx"));
var cert = new X509Certificate2(new X509Certificate(AppDomain.CurrentDomain.BaseDirectory + @"site.pfx"));
var server = new WebServer(o => o
.WithUrlPrefixes("https://*:443", "http://*:80")