Skip to content

Commit

Permalink
fix: add content type to localhost icon fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetherinox committed Oct 13, 2024
1 parent c04c462 commit 6ac445b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ export default {
if (fetchIcoCdn && fetchIcoCdn.status === 200) {
let resp = new Response(fetchIcoCdn.body, {
headers: {
'content-type': types.icon,
...DEFAULT_CORS_HEADERS
}
});
Expand Down

0 comments on commit 6ac445b

Please sign in to comment.