From 77c4055c72fc5d0e0becaf3c410ab700f26c220b Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期六, 04 十月 2025 18:57:09 +0800
Subject: [PATCH] fix(auth): 避免在 JWT 过滤器中消费原始 GraphQL 请求体,防止下游读取为空引发 400
---
web/src/utils/cos.ts | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/web/src/utils/cos.ts b/web/src/utils/cos.ts
index d8889fc..b37e3b2 100644
--- a/web/src/utils/cos.ts
+++ b/web/src/utils/cos.ts
@@ -7,7 +7,6 @@
const response = await axios.get('http://localhost:8080/api/cos/credentials')
return response.data
} catch (error) {
- console.error('浠庡悗绔幏鍙栦复鏃跺瘑閽ュけ璐�:', error)
throw error
}
}
--
Gitblit v1.8.0