odc.xiaohui
2023-03-03 752ad6211b54bbf38bf7dfc5c3a572ae3e15b0d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    devServer: {
        host: 'localhost',
        port: 9098,
        open: true,
        proxy: {
            '/api': {
                target: 'http://192.168.3.220:8080',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            },
            '/minio': {
                target: 'http://221.237.182.28:19000',
                changeOrigin: true,
                pathRewrite: {
                    '^/minio': ''
                }
            }
        }
    }
})