fix: uploads route ignored by .gitignore, image 404s

.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.
This commit is contained in:
lezi-fun committed 2026-08-10 10:45:25 +08:00
1 parent ac6e2dab84
commit d1c06741f6
3 files changed
+48 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
{
"framework": "nextjs",
"regions": ["hkg1"],
"buildCommand": "next build",
"outputDirectory": ".next",
"env": {
"NODE_ENV": "production"
}
}