fangyuan
2022-12-27 9ca0e9dc50759f4c00498e68c0155bcc3db2be2f
vue.config.js
@@ -2,9 +2,12 @@
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
      host: 'localhost',
      port: 9098,
      open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:8081',
        target: 'http://localhost:9099',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''