📜  弹性搜索响应被 cors 阻止 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:11.538000             🧑  作者: Mango

代码示例1
http.cors.enabled : true
 http.cors.allow-origin: "*"
 http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
 http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length
 http.cors.allow-credentials: true