You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
753 B
JavaScript
25 lines
753 B
JavaScript
const {defineConfig} = require('@vue/cli-service')
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
runtimeCompiler: true,
|
|
devServer: {
|
|
hot: false,
|
|
host: "0.0.0.0",
|
|
port: 9000,
|
|
open: true,
|
|
https: false,
|
|
proxy: {
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
// target: `http://175.27.215.92:8899/prod-api`,
|
|
// target: `http://192.168.137.1:9081`,
|
|
target: `http://1.13.177.47:6699/prod-api`,
|
|
// target: `http://192.168.100.100:9081`,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
["^" + process.env.VUE_APP_BASE_API]: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|