diff --git a/FastTunnel.Client/appsettings.json b/FastTunnel.Client/appsettings.json index c77271d..060f502 100644 --- a/FastTunnel.Client/appsettings.json +++ b/FastTunnel.Client/appsettings.json @@ -20,7 +20,7 @@ "LocalIp": "127.0.0.1", // 站点监听的端口号 - "LocalPort": 880, + "LocalPort": 80, // 子域名, 访问本站点时的url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/ "SubDomain": "test" // test.test.cc diff --git a/FastTunnel.Core/Core/SuiDaoServer.cs b/FastTunnel.Core/Core/SuiDaoServer.cs index 769c579..1111f80 100644 --- a/FastTunnel.Core/Core/SuiDaoServer.cs +++ b/FastTunnel.Core/Core/SuiDaoServer.cs @@ -114,7 +114,7 @@ namespace FastTunnel.Core.Core Host = collection[0].Value; } - _logger.LogDebug(Host); + _logger.LogDebug(Host.Replace("\r", "")); var domain = Host.Split(":")[1].Trim(); WebInfo web; @@ -258,7 +258,6 @@ namespace FastTunnel.Core.Core handler = _loginHandler; break; case MessageType.Heart: // 心跳 - Console.WriteLine("收到心跳"); handler = _heartHandler; break; case MessageType.C_SwapMsg: // 交换数据