21 lines
430 B
JavaScript
21 lines
430 B
JavaScript
const { defineConfig } = require("@vue/cli-service");
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
lintOnSave: false,
|
|
devServer: {
|
|
port: 9955,
|
|
open: true,
|
|
proxy: {
|
|
"/api": {
|
|
// target: "http://localhost:911",
|
|
target: "http://47.114.150.226:88",
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
"^/api": "",
|
|
},
|
|
ws: false,
|
|
},
|
|
},
|
|
},
|
|
});
|