e5737bf58785c224b242599c1ce6342a32d112d1
Next.js standalone output does not serve files added dynamically to public/uploads/ after build time. Serve uploads via a new API route (/api/uploads/[filename]) that reads from disk at request time. - Add src/app/api/uploads/[filename]/route.ts to stream uploaded files - Update POST /api/upload to return /api/uploads/<file> URLs - Update GET /api/upload to list uploads with /api/uploads/ URLs - Update DELETE /api/upload to accept /api/uploads/ URL prefix - Add /api/uploads to middleware public routes whitelist Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
77.2%
PHP
17%
JavaScript
4.3%
Dockerfile
0.9%
CSS
0.4%
Other
0.2%