You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use your custom middleware to allow OPTIONS requests in Lumen, but I only managed to use it globally. When I try to use it in specific routes it still doesn't allow OPTIONS.
(MethodNotAllowedHttpException)
Am I missing something?
The text was updated successfully, but these errors were encountered:
I've the same problem! Global CORS is working fine but Route specific CORS is not working.
I've registered the middleware in my bootstrap/app.php like so:
I'm trying to use your custom middleware to allow OPTIONS requests in Lumen, but I only managed to use it globally. When I try to use it in specific routes it still doesn't allow OPTIONS.
(MethodNotAllowedHttpException)
Am I missing something?
The text was updated successfully, but these errors were encountered: