From 42610f9cb0979f1c46a1c47ade4281bc1124fb92 Mon Sep 17 00:00:00 2001 From: yujiangping Date: Wed, 24 Dec 2025 12:05:36 +0800 Subject: [PATCH] fix:git commit --- web/.gitignore | 2 +- web/vite.config.ts | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/web/.gitignore b/web/.gitignore index b398d222..9608e0b9 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -22,5 +22,5 @@ dist-ssr *.njsproj *.sln *.sw? - +vite.config.js package-lock.json diff --git a/web/vite.config.ts b/web/vite.config.ts index 7181389f..fd5d1663 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,3 +1,11 @@ +/* + * @Description: + * @Version: 0.0.1 + * @Author: yujiangping + * @Date: 2025-12-22 17:33:57 + * @LastEditors: yujiangping + * @LastEditTime: 2025-12-24 12:01:18 + */ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import { resolve } from 'path' @@ -11,7 +19,8 @@ export default defineConfig({ proxy: { // 主要API代理,支持 /api 和 /api/* 格式 '/api': { - target: 'http://0.0.0.0:5173', // 后端服务地址 + // target: 'http://0.0.0.0:5173', // 后端服务地址 + target: 'https://devmemorybear.redbearai.com/', changeOrigin: true, // 匹配所有以/api开头的请求,包括/api/token