From facac3b24601ab22708284562474e02a4553c7e0 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Tue, 24 Nov 2020 19:00:54 -0500 Subject: [PATCH] Add redirect for v1 of the API --- vercel.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 7617296..2eb2c30 100644 --- a/vercel.json +++ b/vercel.json @@ -4,6 +4,7 @@ "api/**/*.{j,t}s": { "runtime": "vercel-deno@0.4.4" } }, "redirects": [ - { "source": "/", "destination": "https://github.com/hackclub/cdn"} + { "source": "/", "destination": "https://github.com/hackclub/cdn" }, + { "source": "/api/new", "destination": "/api/v1", "permanent": false } ] } \ No newline at end of file