You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/26 16:58:15 UTC

[GitHub] [apisix] angeld287 commented on issue #4095: bug: cors() does not work after modifying

angeld287 commented on issue #4095:
URL: https://github.com/apache/apisix/issues/4095#issuecomment-1110035212

   In my case the problem was that I addes the mothod `GET` in the Route so the `CORS` continued showing the origin cors error even if i added `GET` in the "allow_methods" cors property. So I changed the `GET` method for `ALL` and it worked. So if your case is not the same like mine I recomend that before add some properties in the Route you may test the cors with the default configurations as the documentation does it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org