From d2addf58cbc182945c0fac68312a4f74ded77049 Mon Sep 17 00:00:00 2001 From: hoilc Date: Fri, 22 Aug 2025 08:03:10 +0800 Subject: [PATCH] fix(claude): enable CORS support --- src/apis/trans.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apis/trans.js b/src/apis/trans.js index 0c73902..712a8fd 100644 --- a/src/apis/trans.js +++ b/src/apis/trans.js @@ -425,6 +425,7 @@ const genClaude = ({ headers: { "Content-type": "application/json", "anthropic-version": "2023-06-01", + "anthropic-dangerous-direct-browser-access": "true", "x-api-key": key, }, method: "POST",