From da61f1e9291612bf5a21900bbecb11e233f7b8cf Mon Sep 17 00:00:00 2001 From: Kei-Luna Date: Wed, 13 May 2026 07:22:46 +0900 Subject: [PATCH] Small fix --- Common/Configuration/ConfigContainer.cs | 1 - Config/Config.json | 3 +-- Proxy/ProxyServer.cs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Common/Configuration/ConfigContainer.cs b/Common/Configuration/ConfigContainer.cs index fd22236..325ddb0 100644 --- a/Common/Configuration/ConfigContainer.cs +++ b/Common/Configuration/ConfigContainer.cs @@ -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 diff --git a/Config/Config.json b/Config/Config.json index 34a039c..0ba1d80 100644 --- a/Config/Config.json +++ b/Config/Config.json @@ -41,8 +41,7 @@ }, "Proxy": { "Enabled": true, - "Port": 18888, - "ServerHttpPort": 21500 + "Port": 18888 }, "Loader": { "GamePath": "", diff --git a/Proxy/ProxyServer.cs b/Proxy/ProxyServer.cs index 0a53113..19f44e4 100644 --- a/Proxy/ProxyServer.cs +++ b/Proxy/ProxyServer.cs @@ -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,