From e0d253a8d0c1ac6d8a5edbb91896b76815b9daa1 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sat, 20 Apr 2024 20:28:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=82=20Add=20redirection=20to=20extensi?= =?UTF-8?q?ons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vercel.json | 52 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/vercel.json b/vercel.json index df28788..53daa31 100644 --- a/vercel.json +++ b/vercel.json @@ -1,19 +1,39 @@ { - "headers": [ + "headers": [ + { + "source": "/:all*(ttf|otf|woff|woff2)", + "headers": [ { - "source": "/:all*(ttf|otf|woff|woff2)", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=31536000, immutable" - } - ] + "key": "Cache-Control", + "value": "public, max-age=31536000, immutable" } - ], - "redirects": [ - { - "source": "/git", - "destination": "https://github.com/pheralb/svgl" - } - ] -} \ No newline at end of file + ] + } + ], + "redirects": [ + { + "source": "/git", + "destination": "https://github.com/pheralb/svgl" + }, + { + "source": "/raycast", + "destination": "https://www.raycast.com/1weiho/svgl" + }, + { + "source": "/vscode", + "destination": "https://marketplace.visualstudio.com/items?itemName=EsteveSegura.svgl" + }, + { + "source": "/figma", + "destination": "https://www.figma.com/community/plugin/1320306989350693206/svgl" + }, + { + "source": "/terminal", + "destination": "https://github.com/sujjeee/svgls" + }, + { + "source": "/badges", + "destination": "https://svgl-badge.vercel.app/" + } + ] +}