错误信息
{error: "Content-Type header [application/x-www-form-urlencoded] is not supported", status: 406}
1.进入head容器 docker exec -it head bash
2.进入_site目录 cd _site
3.编辑vendor.js文件 vim vendor.js
4.修改内容,一共两处
①. 6886行 contentType: "application/x-www-form-urlencoded
改成
contentType: "application/json;charset=UTF-8"
②. 7574行 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
改成
var inspectData = s.contentType === "application/json;charset=UTF-8" &&