From 023e36c2d475354a180cf848a0f35b7ec6319ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CA=9C=C9=AA=C9=B4=E1=B4=87=C9=AA=20N=E1=B4=8F=E1=B4=9C?= =?UTF-8?q?=E1=B4=A2=E1=B4=87=C9=B4?= <157171073+Shineii86@users.noreply.github.com> Date: Thu, 25 Jun 2026 12:08:33 +0530 Subject: [PATCH] fix: Add static file serving for public/ directory on Vercel --- vercel.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vercel.json b/vercel.json index 92ed403..11ed407 100644 --- a/vercel.json +++ b/vercel.json @@ -8,6 +8,10 @@ { "src": "api/proxy.js", "use": "@vercel/node" + }, + { + "src": "public/**", + "use": "@vercel/static" } ], "routes": [ @@ -18,6 +22,10 @@ { "src": "/api/(.*)", "dest": "/api/index.js" + }, + { + "src": "/(.*)", + "dest": "/public/$1" } ], "headers": [