11
WXL
2 天以前 920e530b68c0f4dba434281ce94c9814e9937db3
vite.config.ts
@@ -32,8 +32,8 @@
      proxy: {
        ['/admin-api']: {
          // target: 'http://192.168.100.120:48080',
          target: 'http://localhost:8095',
          // target: 'http://192.168.100.194:48080',
          // target: 'http://localhost:8095',
          target: 'http://192.168.100.194:48080',
          ws: false,
          changeOrigin: true,
          // rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),