vue2 代理 https 不校验
module.exports = { // ... devServer: { proxy: { '/api': { target: 'https://your-backend-server.com', changeOrigin: true, secure: false, // 设置为false来跳过SSL验证 }, }, }, };
module.exports = { // ... devServer: { proxy: { '/api': { target: 'https://your-backend-server.com', changeOrigin: true, secure: false, // 设置为false来跳过SSL验证 }, }, }, };