// 配置HTTPS证书
uni.configMTLS({
certificates: [{
host: "192.168.10.72",
server: ["/static/server.cer"]
}],
success: (res) => {
console.log(res);
},
fail: (res) => {
throw res;
}
});
"devServer" : {
"https" : true
}
0 个回复