升级sing和xray内核

This commit is contained in:
wyx2685 committed 2024-01-22 13:38:55 +09:00
1 parent c4d404d979
commit e292b3b0e7
3 files changed
+90 -119

No files matched your search

+1 -2
View File
@@ -76,9 +76,8 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
}
os.Setenv("SING_DNS_PATH", c.SingConfig.DnsConfigPath)
}
ctx := context.Background()
b, err := box.New(box.Options{
Context: ctx,
Context: context.Background(),
Options: options,
})
if err != nil {