mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 01:43:57 +00:00
Small fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
},
|
||||
"Proxy": {
|
||||
"Enabled": true,
|
||||
"Port": 18888,
|
||||
"ServerHttpPort": 21500
|
||||
"Port": 18888
|
||||
},
|
||||
"Loader": {
|
||||
"GamePath": "",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user