Small fix

This commit is contained in:
Kei-Luna
2026-05-13 07:22:46 +09:00
parent d9b16fb55d
commit da61f1e929
3 changed files with 2 additions and 4 deletions

View File

@@ -88,7 +88,6 @@ public class ProxyOptions
{
public bool Enabled { get; set; } = true;
public int Port { get; set; } = 18888;
public int ServerHttpPort { get; set; } = 21500;
}
public class LoaderOptions

View File

@@ -41,8 +41,7 @@
},
"Proxy": {
"Enabled": true,
"Port": 18888,
"ServerHttpPort": 21500
"Port": 18888
},
"Loader": {
"GamePath": "",

View File

@@ -193,7 +193,7 @@ public sealed class ProxyServer(
return ("127.0.0.1", request.Port switch
{
80 => _options.ServerHttpPort,
80 => ConfigManager.Config.HttpServer.Port,
893 => 31443,
13443 => 13443,
18443 => 18443,