## What changed - `src/middleware/cors.js` rejects requests from unauthorized origins - The error response doesn't explain why the request was blocked ## Why - Developers debugging CORS issues need to know their origin isn't in the allowed list - Should return a clear error message with the rejected origin ## How to test 1. Make a request from an unauthorized origin 2. Check the error response — generic 403, no mention of CORS
What changed
src/middleware/cors.jsrejects requests from unauthorized originsWhy
How to test