Next.js production server returns 500 for OPTIONS requests to static assets
Sending an OPTIONS request to any URL under /_next/static/chunks/ in a production Next.js server (next start) results in a 500 Internal Server Error. The expected behavior is to handle OPTIONS gracefully, e.g., with a 405 or 204 status, without logging server errors.
