We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
1 parent fde628a commit 5bf7eb6Copy full SHA for 5bf7eb6
packages/ui/client/composables/client/static.ts
@@ -74,7 +74,7 @@ export function createStaticClient(): VitestClient {
74
async function registerMetadata() {
75
const res = await fetch(window.METADATA_PATH!)
76
const contentType = res.headers.get('content-type')?.toLowerCase() || ''
77
- if (contentType.includes('application/gzip')) {
+ if (contentType.includes('application/gzip') || contentType.includes('application/x-gzip')) {
78
const compressed = new Uint8Array(await res.arrayBuffer())
79
const decompressed = strFromU8(decompressSync(compressed))
80
metadata = parse(decompressed) as HTMLReportMetadata
0 commit comments