huangyinfeng
4 天以前 db42d08c39ae6129e2b95cd24c0d57c6769282e5
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`), ''),