diff --git a/scripts/visual-regression/upload.js b/scripts/visual-regression/upload.js index 9ec24439c7..f976743d01 100644 --- a/scripts/visual-regression/upload.js +++ b/scripts/visual-regression/upload.js @@ -92,6 +92,7 @@ async function uploadFile(client, filePath, refValue) { 'x-oss-object-acl': 'public-read', // https://help.aliyun.com/zh/oss/developer-reference/prevent-objects-from-being-overwritten-by-objects-that-have-the-same-names-3 'x-oss-forbid-overwrite': 'false', + 'Content-Disposition': 'inline', }; // Set content-type to allow individual preview of images if (path.extname(filePath) === '.png') {