natapp出现Invalid Host header

前端是vue 3.x 项目,需要更改vue的配置文件 vue.config.js,在module.exports中添加devServer:{disableHostCheck:true}

原文地址:https://www.cnblogs.com/gqymy/p/11265896.html