Files
OpenList/bootstrap/client.go

12 lines
191 B
Go
Raw Normal View History

2020-12-24 01:39:45 +08:00
package bootstrap
import (
"github.com/Xhofe/alist/conf"
2020-12-26 18:11:17 +08:00
log "github.com/sirupsen/logrus"
2020-12-24 01:39:45 +08:00
"net/http"
)
func InitClient() {
2020-12-26 18:11:17 +08:00
log.Infof("初始化client...")
2020-12-24 01:39:45 +08:00
conf.Client=&http.Client{}
}