While running packages/api in dev, it works and i used vercel link and ran the packages/api on localhost:4000 using vercel.json to give it vercel environment. But when i hosted it on vercel it shows 404 and i cant access any route. i think something is wrong with vercel.json but its still running perfectly in vercel cli.
It should run like vercel cli but the route still says 404

{ "version": 2, "builds": [ { "src": "dist/index.js", "use": "/node", "config": { "includeFiles": ["../../packages/**"] } } ], "routes": [ { "src": "/api/trpc(?:/.)?", "dest": "dist/index.js", "headers": { "Access-Control-Allow-Origin": "", "Access-Control-Allow-Methods": "GET, POST, OPTIONS", "Access-Control-Allow-Headers": "Content-Type, Authorization", "Access-Control-Allow-Credentials": "true" } } ], "env": { "NODE_ENV": "production" } } this is the current vercel.json, am i missing something