Mark request as cors preflight here https://github.com/yiisoft/router/blob/98969eb86377333fbf01a2eb2ef4382e928b197b/src/RouteCollection.php#L186 Maybe `$request->withAttribute('preflight', true);`
Mark request as cors preflight here
router/src/RouteCollection.php
Line 186 in 98969eb
Maybe
$request->withAttribute('preflight', true);