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:
1 parent
ac6e2dab84
commit
d1c06741f6
3 files changed
+48
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"framework": "nextjs",
|
||||
"regions": ["hkg1"],
|
||||
"buildCommand": "next build",
|
||||
"outputDirectory": ".next",
|
||||
"env": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user