chore(ci): send correct mimetype for images (#15973)

This commit is contained in:
dwieeb
2018-10-16 14:10:06 -05:00
committed by GitHub
parent 277d222fb1
commit d88c6e1bbc

View File

@@ -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 = {}) {