Fix mime type for compressed client-side extensions

In Firefox using the gzip mime type will (probably correctly) cause it
not to decompress while in Chromium it still will (incorrectly).
This commit is contained in:
Asher 2020-03-02 18:24:35 -06:00
parent 77af2a5b0e
commit e0e019fbd5
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ export abstract class HttpProvider {
stream = compress
headers["content-encoding"] = "gzip"
}
return { stream, filePath, mime: "application/gzip", cache: true, headers }
return { stream, filePath, mime: "application/x-tar", cache: true, headers }
}
/**