未验证 提交 909c5e84 编写于 作者: L Liang Ding

👽 去除无效的 CDN 加速地址

上级 d1dc3563
......@@ -168,13 +168,7 @@ func (task *dtask) doDownload() {
task.State = stateDownloading
}
uri2 := task.PCSURL
uri2 = strings.Replace(uri2, "//pcs", "//d.pcs", -1)
uri4 := task.PCSURL
uri4 = strings.Replace(uri4, "//pcs", "//c.pcs", -1)
gid, err := util.R.AddURI(task.PCSURL, []string{uri2, uri4}, options)
gid, err := util.R.AddURI(task.PCSURL, options)
if nil != err {
logger.Errorf("add task [path=%s] failed [%s]", task.Path, err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册