chores: update deps

This commit is contained in:
Chuan Ding
2025-05-30 14:46:27 +08:00
parent 068aa121a4
commit ad950f6c28
4 changed files with 30 additions and 42 deletions

View File

@@ -236,12 +236,7 @@ func (s *Server) AddDownloadClient(c *gin.Context) (interface{}, error) {
}); err != nil {
return nil, errors.Wrap(err, "save downloader")
}
if in.UseNatTraversal {
if err := s.core.StartStunProxy(in.Name); err!= nil {
return nil, errors.Wrap(err, "start stun proxy")
}
}
return nil, nil
}