💩代码改进

This commit is contained in:
coward
2024-03-14 15:23:16 +08:00
parent 91a1e61334
commit 8dfef5192e
23 changed files with 443 additions and 83 deletions

View File

@@ -106,7 +106,7 @@ func (s Script) InitServer() error {
// 初始化服务端的全局配置
var data = map[string]any{
"endpointAddress": utils.Network().GetHostPublicIP(),
"dnsServer": "10.10.10.1/24",
"dnsServer": []string{"10.10.10.1/24"},
"MTU": 1450,
"persistentKeepalive": 15,
"firewallMark": "",