diff --git a/FastTunnel.Core/FastTunnel.Core.csproj b/FastTunnel.Core/FastTunnel.Core.csproj index 1c458f2..2e06ac4 100644 --- a/FastTunnel.Core/FastTunnel.Core.csproj +++ b/FastTunnel.Core/FastTunnel.Core.csproj @@ -18,7 +18,7 @@ git FastTunnel.Core FastTunnel.Core - 1.0.23 + 1.0.24 diff --git a/FastTunnel.Core/Handlers/Server/LoginHandler.cs b/FastTunnel.Core/Handlers/Server/LoginHandler.cs index ab9f4b7..30a3708 100644 --- a/FastTunnel.Core/Handlers/Server/LoginHandler.cs +++ b/FastTunnel.Core/Handlers/Server/LoginHandler.cs @@ -84,16 +84,11 @@ namespace FastTunnel.Core.Handlers { foreach (var www in item.WWW) { - if (!www.EndsWith(server.ServerSettings.WebDomain)) - { - server.WebList.AddOrUpdate(www, info, (key, oldInfo) => { return info; }); - sb.Append($"{Environment.NewLine} http://{www}{(server.ServerSettings.WebHasNginxProxy ? string.Empty : ":" + server.ServerSettings.WebProxyPort)} => {item.LocalIp}:{item.LocalPort}"); - } - else - { - // can`t use WebDomain - _logger.LogError($"Invalid WebDomain IN WWW {www}"); - } + // TODO:validateDomain + _logger.LogError($"WWW {www}"); + + server.WebList.AddOrUpdate(www, info, (key, oldInfo) => { return info; }); + sb.Append($"{Environment.NewLine} http://{www}{(server.ServerSettings.WebHasNginxProxy ? string.Empty : ":" + server.ServerSettings.WebProxyPort)} => {item.LocalIp}:{item.LocalPort}"); } } }