From c5be59955813f59c5cb5ac509e54a8cb7c75e4bc Mon Sep 17 00:00:00 2001 From: DarthGigi <47110839+DarthGigi@users.noreply.github.com> Date: Tue, 24 Dec 2024 21:19:42 +0100 Subject: [PATCH] feat: add CORS headers for favicon --- vercel.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vercel.json b/vercel.json index 58fd71a..fe18ca8 100644 --- a/vercel.json +++ b/vercel.json @@ -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" } + ] + } ] }