.gitignore 'uploads/' pattern matched app/api/uploads/ too, so the image-serving route handler was never committed. Anchor it to /uploads/ so only the runtime storage dir is ignored. Also add vercel.json.
{
|
|
"framework": "nextjs",
|
|
"regions": ["hkg1"],
|
|
"buildCommand": "next build",
|
|
"outputDirectory": ".next",
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
}
|