shiyue
2023-02-16 39da98555350150352419d634b99306b712aa279
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://42.193.1.25:8888',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''