charles
2024-07-29 a78f6ae9b480f1f86f1a07d551585f5f0cac07fd
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`), ''),