update web

This commit is contained in:
zhaoying
2025-12-15 15:10:42 +08:00
parent a4e276ab27
commit db3d3dee85
2 changed files with 92 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ export default defineConfig({
proxy: {
// 主要API代理支持 /api 和 /api/* 格式
'/api': {
target: 'http://127.0.0.1:8000', // 后端服务地址
target: 'http://0.0.0.0:5173', // 后端服务地址
changeOrigin: true,
// 匹配所有以/api开头的请求包括/api/token