vue.config.js module.exports = { devServer: { proxy: { "/api": { target: "http://192.168.0.103:9876", changOrigin: true, pathRewrite: {"^/api" : ""} } } } }
原文地址:https://www.cnblogs.com/jxd283465/p/11615163.html
时间: 2024-11-02 06:44:15
vue.config.js module.exports = { devServer: { proxy: { "/api": { target: "http://192.168.0.103:9876", changOrigin: true, pathRewrite: {"^/api" : ""} } } } }
原文地址:https://www.cnblogs.com/jxd283465/p/11615163.html