From b536bd0366898f489a2ead63fed7f7077127066c Mon Sep 17 00:00:00 2001 From: YoVinchen Date: Mon, 19 Jan 2026 13:33:59 +0800 Subject: [PATCH] fix(proxy): filter x-goog-api-key header to prevent duplication --- src-tauri/src/proxy/forwarder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/proxy/forwarder.rs b/src-tauri/src/proxy/forwarder.rs index b94cb58dc..f0e934259 100644 --- a/src-tauri/src/proxy/forwarder.rs +++ b/src-tauri/src/proxy/forwarder.rs @@ -28,6 +28,7 @@ const HEADER_BLACKLIST: &[&str] = &[ // 认证类(会被覆盖) "authorization", "x-api-key", + "x-goog-api-key", // 连接类(由 HTTP 客户端管理) "host", "content-length",