commit 08d9ed9b042cd8283906d2fdd0fb7d243359cc8e
parent 07b265058a2448e4c07120632db9b05af095b42b
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Mon, 20 Jul 2026 20:55:50 +0530
Update vercel.json
Diffstat:
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/vercel.json b/vercel.json
@@ -1,7 +1,21 @@
{
+"redirects": [
+{
+"source": "/",
+"has": [
+{
+"type": "query",
+"key": "item",
+"value": "(?.)"
+}
+],
+"destination": "https://huggingface.co/datasets/notamitgamer/uploads/resolve/main/:filename",
+"permanent": false
+}
+],
"rewrites": [
{
-"source": "/api/(.*)",
+"source": "/api/(.)",
"destination": "/api/index"
}
]