fix: Qiniu 源站下载用 HTTP,避免 SSL 握手失败

This commit is contained in:
mediabot-pt
2026-06-30 17:03:59 +08:00
parent 682b19cb35
commit 1429171713

View File

@@ -71,7 +71,7 @@ public class QiniuStorageService implements StorageService {
public String read(String path) {
ensureInit();
// 私有空间走认证源站下载
String sourceUrl = "https://" + bucket + ".qiniucdn.com/" + path;
String sourceUrl = "http://" + bucket + ".qiniucdn.com/" + path;
String signedUrl = auth.privateDownloadUrl(sourceUrl, 3600);
try {
var req = HttpRequest.newBuilder().uri(URI.create(signedUrl))