明梦爽
2022-04-17 5529b7077126be368abd444d45ec085d8c7779e3
vue.config.js
@@ -1,10 +1,11 @@
const webpack = require('webpack');
module.exports = {
  publicPath:'./',
  configureWebpack: {
    devServer: {
      proxy: {
        '/api': {
          target: 'http://10.2.33.200',
          target: 'http://localhost:7070',
          changeOrigin: true,
          ws:true,
          pathRewrite: {
@@ -13,5 +14,5 @@
        }
      }
    }
  }
  },
}