yxh
2026-09-14 cdc47651d6aa723754f3609148b28a35220138bb
vite.config.ts
@@ -31,8 +31,9 @@
      // 本地跨域代理. 目前注释的原因:暂时没有用途,server 端已经支持跨域
      proxy: {
        ['/admin-api']: {
          target: 'http://192.168.100.100:48080',
          // target: 'http://192.168.100.194:48080',
          // target: 'http://192.168.100.120:48080',
          target: 'http://localhost:8095',
          // target: 'http://192.168.100.141:48080',
          ws: false,
          changeOrigin: true,
          // rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),