修改编译脚本

This commit is contained in:
bjdgyc
2024-03-15 17:29:13 +08:00
parent 8455ef6ed4
commit cca9e377c5
6 changed files with 55 additions and 104 deletions

View File

@@ -142,7 +142,7 @@ func addInitData() error {
}
g1 := Group{
Name: "ops",
Name: "all",
AllowLan: true,
ClientDns: []ValData{{Val: "114.114.114.114"}},
RouteInclude: []ValData{{Val: All}},
@@ -153,6 +153,18 @@ func addInitData() error {
return err
}
g2 := Group{
Name: "ops",
AllowLan: true,
ClientDns: []ValData{{Val: "114.114.114.114"}},
RouteInclude: []ValData{{Val: "10.0.0.0/8"}},
Status: 1,
}
err = SetGroup(&g2)
if err != nil {
return err
}
return nil
}