mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-06 09:30:47 +08:00
chores: update deps
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user