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`), ''),