const path = require('path') const fs = require('fs') module.exports = { devServer: { proxy: { '/api': { target: 'http://192.168.1.111:8888', changeOrigin: true, ws: false, pathRewrite: { '^/api': '' } } } } }