shuinichang_/.history/vue.config_20231215134843.js

17 lines
370 B
JavaScript

const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false,
// publicPath: './',
devServer: {
proxy: {
"/api": {
target: "http://111.229.30.246:32761/api",
pathRewrite: { "^/api": "" },
secure: false,
changeOrigin: true,
},
},
},
});