From f64693c0da5483d8670220bf3a5bf89a32e94a20 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 07 十一月 2025 10:34:21 +0800
Subject: [PATCH] 解决线上打包问题
---
web/src/api/graphql.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/src/api/graphql.ts b/web/src/api/graphql.ts
index 7dd2e56..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],
})
--
Gitblit v1.8.0