.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.
node_modules/
|
|
.next/
|
|
out/
|
|
/uploads/
|
|
*.log
|
|
.DS_Store
|
|
|
|
# .env 允许提交到仓库(项目约定)
|
|
# 仅忽略本地覆盖文件
|
|
.env.local
|
|
.env.*.local
|
|
.vercel
|