vite.config.ts
@@ -31,7 +31,7 @@ // secure: false }, '/upload': { target: 'http://localhost:3300/upload', target: 'http://yingchen.onbus.cn:9010/attachment/uploadAttachmentV2.do', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/upload`), ''),