pull/670/head
Caleb Gosiak 4 years ago
parent 9c23f97836
commit ef015fc7a1

@ -43366,7 +43366,11 @@ class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
}); });

@ -43366,7 +43366,11 @@ class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
}); });

@ -1,6 +1,6 @@
{ {
"name": "cache", "name": "cache",
"version": "0.5.0", "version": "0.6.0",
"private": true, "private": true,
"description": "Cache dependencies and build outputs", "description": "Cache dependencies and build outputs",
"main": "dist/restore/index.js", "main": "dist/restore/index.js",

@ -133,7 +133,11 @@ export class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
} }

Loading…
Cancel
Save