liudong
2024-07-30 8b58e8072786e1b635128b8ee8b6b663f131d959
config/vite.config.dev.ts
@@ -20,8 +20,9 @@
          // only https
          // secure: false
        },
        '/v1': {
          target: 'http://192.168.20.116:1080/',
        '/api/v1': {
          // target: 'http://192.168.20.116:1080/',
          target: 'http://aiotlink.com:8189',
          changeOrigin: true,
          ws: true,
          // rewrite: (path) => path.replace(new RegExp(`^/upload`), ''),