场景:
在使用 elasticsearch-head 工具链接es的时候,链接不上es,跨域问题
解决方案
配置elasticsearchyml文件,添加
http.cors.enabled: true
http.cors.allow-origin: "*"
场景:
在使用 elasticsearch-head 工具链接es的时候,链接不上es,跨域问题
解决方案
配置elasticsearchyml文件,添加
http.cors.enabled: true
http.cors.allow-origin: "*"