rag-frontend/apps/web-antd/vite.config.ts
xiangning 27bcfde6c9 fix: Jenkinsfile 直接下载 Node.js 二进制 + 前端对接调整
- Jenkinsfile: 从 nodejs.org 下载 Node.js 二进制(容器无法访问 GitHub)
- vite.config.ts: 代理目标改为后端实际端口 5211,去掉 rewrite
- auth.ts: withCredentials 移到 axios config 正确位置
2026-05-11 02:43:23 +08:00

19 lines
338 B
TypeScript

import { defineConfig } from '@vben/vite-config';
export default defineConfig(async () => {
return {
application: {},
vite: {
server: {
proxy: {
'/api': {
changeOrigin: true,
target: 'http://localhost:5211',
ws: true,
},
},
},
},
};
});