prefix ending

This commit is contained in:
glax 2024-01-13 21:46:38 +01:00
parent 18543a14e5
commit 24821b84e9

View File

@ -16,7 +16,7 @@ public class GSIServer
public GSIServer(int port) public GSIServer(int port)
{ {
HttpListener = new HttpListener(); HttpListener = new HttpListener();
HttpListener.Prefixes.Add($"http://127.0.0.1:{port}"); HttpListener.Prefixes.Add($"http://127.0.0.1:{port}/");
HttpListener.Start(); HttpListener.Start();
Task connectionListener = HandleConnection(); Task connectionListener = HandleConnection();