Skip to content

Commit c99e634

Browse files
authored
fix: use compression when downloading the coder binary (#34)
1 parent 4f2dcd4 commit c99e634

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/storage.ts

+4
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ export class Storage {
118118
signal: controller.signal,
119119
baseURL: baseURL,
120120
responseType: "stream",
121+
headers: {
122+
"Accept-Encoding": "gzip",
123+
},
124+
decompress: true,
121125
// Ignore all errors so we can catch a 404!
122126
validateStatus: () => true,
123127
})

0 commit comments

Comments
 (0)