Commit 76a03f0c by qinjianhui

fix: 问题修改

parent 188e8012
const { defineConfig } = require('@vue/cli-service') const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
devServer: { // devServer: {
port: 8082, // port: 8082,
host: '', // host: '',
proxy: { // }
'/api': {
target: 'http://10.168.31.222:8096',
changeOrigin: true
// pathRewrite: {
// '^/api': '',
// },
}
}
}
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment