const baseurl = require("./env.js"); module.exports = { devServer: { proxy: { [baseurl]: { target: 'http://192.168.0.246:8601', changeOrigin: true, pathRewrite: { ["^" + baseurl]: "" } }, } }, }