mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 21:04:07 +08:00
parent
83c2269330
commit
74b20dedc3
@ -33,6 +33,7 @@ func NewRestyClient() *resty.Client {
|
||||
client := resty.New().
|
||||
SetHeader("user-agent", UserAgent).
|
||||
SetRetryCount(3).
|
||||
SetRetryResetReaders(true).
|
||||
SetTimeout(DefaultTimeout).
|
||||
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: conf.Conf.TlsInsecureSkipVerify})
|
||||
return client
|
||||
|
Loading…
x
Reference in New Issue
Block a user