zhangxiao
2024-08-29 11437ccaf369da03cbbd1849930543ee65412750
config/vite.config.dev.ts
@@ -15,7 +15,7 @@
        '/base': {
          // target: 'http://aiotlink.com:8189',
          target: 'http://192.168.20.116:8089',
          //  target: 'http://192.168.20.158:8089',
          // target: 'http://192.168.20.158:8089',
          changeOrigin: true,
          ws: true,
          // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
@@ -25,7 +25,7 @@
        '/api': {
          // target: 'http://aiotlink.com:8189',
          target: 'http://192.168.20.116:8089',
          //  target: 'http://192.168.20.158:8089',
          // target: 'http://192.168.20.158:8089',
          changeOrigin: true,
          ws: true,
          // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
@@ -33,7 +33,7 @@
        '/api/v1': {
          // target: 'http://aiotlink.com:8189',
          target: 'http://192.168.20.116:8089',
          //  target: 'http://192.168.20.158:8089',
          // target: 'http://192.168.20.158:8089',
          changeOrigin: true,
          ws: true,
          // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),