Skip to content

Commit

Permalink
feat: add CORS headers for favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGigi committed Dec 24, 2024
1 parent ebe123d commit c5be599
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@
"path": "/api/internal/crons/cleanup",
"schedule": "0 0 * * *"
}
],
"headers": [
{
"source": "/favicon.png",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Cache-Control", "value": "public, max-age=604800, immutable" }
]
}
]
}

0 comments on commit c5be599

Please sign in to comment.