升级go version 1.16,ui文件嵌入go二进制内

This commit is contained in:
bjd
2020-12-28 16:10:47 +08:00
parent d8b55de5b5
commit b515406635
21 changed files with 225 additions and 107 deletions

View File

@@ -69,6 +69,9 @@ func SetGroup(g *Group) error {
clientDns = append(clientDns, v)
}
}
if len(clientDns) == 0 {
return errors.New("DNS错误")
}
g.ClientDns = clientDns
routeInclude := []ValData{}