From 9d9519354fb304855258a5c97e26dd12c3caf5e1 Mon Sep 17 00:00:00 2001 From: Codex Assistant <codex@example.com> Date: 星期三, 08 十月 2025 09:08:39 +0800 Subject: [PATCH] fix: 修复前端代理配置,移除不必要的API路径重写规则 --- web/src/api/graphql.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/web/src/api/graphql.ts b/web/src/api/graphql.ts index 77046bb..865cdd5 100644 --- a/web/src/api/graphql.ts +++ b/web/src/api/graphql.ts @@ -2,7 +2,7 @@ // GraphQL 瀹㈡埛绔厤缃� export const graphqlClient = new Client({ - url: 'http://localhost:8080/api/graphql', + url: '/api/graphql', exchanges: [cacheExchange, fetchExchange], }) @@ -165,6 +165,7 @@ id?: string name: string phone?: string + password?: string gender?: number description?: string avatarMediaId?: string -- Gitblit v1.8.0