mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(ci): send correct mimetype for images (#15973)
This commit is contained in:
@@ -31,7 +31,7 @@ class CIScreenshotConnector extends IonicConnector {
|
||||
const stream = fs.createReadStream(file);
|
||||
const key = `data/images/${image}`;
|
||||
|
||||
await this.uploadStream(stream, key);
|
||||
await this.uploadStream(stream, key, { ContentType: 'image/png' });
|
||||
}
|
||||
|
||||
async uploadStream(stream, key, extra = {}) {
|
||||
|
||||
Reference in New Issue
Block a user