Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 re-order api middlewares: cors middleware before connect-slashes (#…
…7861) closes #7839 - when a browser sends a request to the API without a trailing slash, we are using connect-slashes to redirect permanently - but because the CORS middleware was registered after the redirect, the CORS headers got lost
- Loading branch information