From 4af278ebf3c4d65c1b3b413fc271e1710fe04c91 Mon Sep 17 00:00:00 2001 From: Arka Jyoti Adhikary Date: Sun, 24 Nov 2024 18:20:00 +0530 Subject: [PATCH] vercel config update --- vercel.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index ddf82eb15666f..20d1d054b3bed 100644 --- a/vercel.json +++ b/vercel.json @@ -1,4 +1,19 @@ { + "headers": [ + { + "source": "/api(.*)", + "headers": [ + { + "key": "Content-Type", + "value": "image/png" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + } + ] + } + ], "functions": { "api/*.js": { "memory": 128, @@ -8,7 +23,7 @@ "redirects": [ { "source": "/", - "destination": "https://github.com/anuraghazra/github-readme-stats" + "destination": "https://github.com/arkajyotiadhikary/github-readme-stats" } ] }