新建索引时,报错{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
解决方法:
进入head安装目录编辑vendor.js 共有两处
①. 6886行 contentType: "application/x-www-form-urlencoded
改成
contentType: "application/json;charset=UTF-8"
②. 7573行 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
改成
var inspectData = s.contentType === "application/json;charset=UTF-8" &&
docker 安装 执行docker exec -it 容器id /bin/bash
执行find -name vendor.js