Ensure CORS headers at the "onBuildingRawResponse" stage.
This adapter hook ensures that CORS headers are applied even when the middleware is not executed.
It is useful for scenarios where an error occurs before reaching the middleware chain
or when a request bypasses the intended processing.
Ensure CORS headers at the "onBuildingRawResponse" stage.
This adapter hook ensures that CORS headers are applied even when the middleware is not executed. It is useful for scenarios where an error occurs before reaching the middleware chain or when a request bypasses the intended processing.