Add redirect for v1 of the API

This commit is contained in:
Max Wofford 2020-11-24 19:00:54 -05:00
parent 1354c759db
commit facac3b246

View file

@ -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 }
]
}