|
|
|
@ -13,7 +13,7 @@ module.exports = defineConfig({ |
|
|
|
|
changeOrigin: true, //是否跨域
|
|
|
|
|
logLevel: "debug", |
|
|
|
|
bypass: function (req, res, proxyOptions) { |
|
|
|
|
console.log(proxyOptions.target + req.url, req); |
|
|
|
|
console.log(proxyOptions.target + req.url); |
|
|
|
|
}, |
|
|
|
|
pathRewrite: { |
|
|
|
|
// "^/api": "",
|
|
|
|
|