mobz / elasticsearch-head

A web front end for an elastic search cluster
http://mobz.github.io/elasticsearch-head/
Other
9.38k stars 2.02k forks source link

cors request did not successd #482

Open DingDangCat2 opened 4 months ago

DingDangCat2 commented 4 months ago
cors-error

Hi. Why is there such an error? I can't solve it. I added the configuration in elasticsearch.yml

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,Content-Type,Content-Length http.detailed_errors.enabled: true