Add rule-set

This commit is contained in:
世界
2023-12-01 13:24:12 +08:00
parent d031aeba76
commit 2d02ef30c5
48 changed files with 2750 additions and 155 deletions

View File

@@ -51,7 +51,11 @@ func (s *Server) downloadExternalUI() error {
}
detour = outbound
} else {
detour = s.router.DefaultOutbound(N.NetworkTCP)
outbound, err := s.router.DefaultOutbound(N.NetworkTCP)
if err != nil {
return err
}
detour = outbound
}
httpClient := &http.Client{
Transport: &http.Transport{