Skip to content

Commit

Permalink
Merge pull request kodadot#7620 from Jarsen136/issue-7596
Browse files Browse the repository at this point in the history
fix: Some images not loading properly on Kusama
  • Loading branch information
vikiival authored Oct 13, 2023
2 parents 819c6f7 + 222b33f commit 05cb527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/gallery/media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function isImageVisible(type: MediaType) {
}

export async function getMimeType(mediaUrl: string) {
const { headers } = await $fetch.raw(mediaUrl, { method: 'HEAD' })
const { headers } = await $fetch.raw(mediaUrl)
return headers.get('content-type') || ''
}

Expand Down

0 comments on commit 05cb527

Please sign in to comment.