Merge pull request #104 from KaneOne/7.x

适配阿里云OSS有公网访问地址
This commit is contained in:
icssoa 2023-12-17 23:17:49 +08:00 committed by GitHub
commit 1f9e7d0c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -487,6 +487,7 @@ async function httpRequest(req: any, item?: any) {
case "oss": case "oss":
next({ next({
host: res.host, host: res.host,
preview: res.publicDomain,
data: { data: {
OSSAccessKeyId: res.OSSAccessKeyId, OSSAccessKeyId: res.OSSAccessKeyId,
policy: res.policy, policy: res.policy,