mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
feat: remote dns config
This commit is contained in:
@@ -64,8 +64,9 @@ func serverHandle(_ *cobra.Command, _ []string) {
|
||||
log.WithField("err", err).Error("Run nodes failed")
|
||||
return
|
||||
}
|
||||
dns := os.Getenv("XRAY_DNS_PATH")
|
||||
if watch {
|
||||
err = c.Watch(config, func() {
|
||||
err = c.Watch(config, dns, func() {
|
||||
nodes.Close()
|
||||
err = vc.Close()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user