marchlhw opened a new issue #6372:
URL: https://github.com/apache/apisix/issues/6372


   ### Issue description
   
   1. 路由配置,开启跨域插件,支持GET、POST、OPTIONS等方法
   
![image](https://user-images.githubusercontent.com/7006014/154635020-d9fdfe13-b8ae-47ca-83c8-d896831905f0.png)
   
   2. 执行OPTIONS请求,响应中没有Access-Control-Allow-Origin头,其他跨域的头到是有
   
![image](https://user-images.githubusercontent.com/7006014/154634858-5ebfab95-e01d-441e-b155-a1e4bc63d030.png)
   
   3. firefox浏览器,报相同的错误,响应中没有Access-Control-Allow-Origin头
   
![image](https://user-images.githubusercontent.com/7006014/154635502-1ad7ba13-8516-4823-ab71-d08da23baade.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to