Commit 658da14e by liuyong

修改页面

1 parent 75257adf
Showing with 8 additions and 2 deletions
...@@ -6,11 +6,17 @@ module.exports = defineConfig({ ...@@ -6,11 +6,17 @@ module.exports = defineConfig({
devServer: { devServer: {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://43.143.211.42:7003', target: 'http://43.143.211.42:7004',
changeOrigin: true, changeOrigin: true,
// secure: false, // secure: false,
pathRewrite: { '^/api': '' }, pathRewrite: { '^/api': '' },
} },
'/fileUpload': {
target: 'http://43.143.211.42:7005',
changeOrigin: true,
// secure: false,
pathRewrite: { '^/fileUpload': '' },
},
} }
}, },
chainWebpack: config => { chainWebpack: config => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!