"h5" : {
"title" : "会员中心",
"template" : "",
"domain" : "localhost",
"router" : {
"mode" : "hash",
"base" : "./"
},
"publicPath" : "./",
"devServer" : {
"disableHostCheck" : true, //禁止访问本地host文件
// "https" : true,
// "port" : 8080,
"proxy" : {
"/api" : {
"target" : "http://192.168.100.6:8800", //
"changeOrigin" : true, //是否跨域
"secure" : false, // 是否支持 https 协议的代理
"ws" : false,
"pathRewrite" : {
"^/api" : ""
}
}
},
"port" : 8800,
"https" : false
}
0 个回复