更新上游xray和singbox依赖

This commit is contained in:
wyx2685
2023-12-12 09:06:55 +09:00
parent 3416284953
commit 34d268dd6d
4 changed files with 84 additions and 80 deletions

View File

@@ -57,10 +57,8 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
options.NTP = &option.NTPOptions{
Enabled: c.SingConfig.NtpConfig.Enable,
WriteToSystem: true,
ServerOptions: option.ServerOptions{
Server: c.SingConfig.NtpConfig.Server,
ServerPort: c.SingConfig.NtpConfig.ServerPort,
},
Server: c.SingConfig.NtpConfig.Server,
ServerPort: c.SingConfig.NtpConfig.ServerPort,
}
os.Setenv("SING_DNS_PATH", "")
options.DNS = &option.DNSOptions{}