Elasticsearch-head 请求头 Content-Type header 设置
asticSearch搭建完成后准备使用es-head建立索引时发现Content-Type错误了解决办法进入head插件安装目录编辑/usr/src/app/_site/vendor.js(我的es_Head插件部署在docker容器中,路径作为参考)修改共有两处:第6886行 /contentType: "application/x-www-form-urlencoded改为 contentType: "application/json;charset=UTF-8"第757.
原创
2021-12-08 17:28:00 ·
2198 阅读 ·
0 评论