commit 5467b538bc4829d2b43dc2b1f86ca2b2ba5ca0c5
parent b771a7b41a0ea4fa545057435077899d088ad32b
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Mon, 20 Jul 2026 21:01:14 +0530
Update vercel.json
Diffstat:
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/vercel.json b/vercel.json
@@ -1,26 +1,15 @@
{
+"$schema": "https://openapi.vercel.sh/vercel.json",
"redirects": [
{
-"source": "/",
-"has": [
-{
-"type": "query",
-"key": "item",
-"value": "(?.)"
-}
-],
-"destination": "https://huggingface.co/datasets/notamitgamer/uploads/resolve/main/:filename",
-"permanent": false
-},
-{
-"source": "/(?[^/]+\.[a-zA-Z0-9]+)",
+"source": "/(?[^/]+)",
"destination": "https://huggingface.co/datasets/notamitgamer/uploads/resolve/main/:filename",
"permanent": false
}
],
"rewrites": [
{
-"source": "/api/(.)",
+"source": "/api/(.*)",
"destination": "/api/index"
}
]