Merge pull request #294 from hoilc/patch-1

fix(claude): enable CORS support
This commit is contained in:
Gabe
2025-08-22 10:47:42 +08:00
committed by GitHub

View File

@@ -425,6 +425,7 @@ const genClaude = ({
headers: { headers: {
"Content-type": "application/json", "Content-type": "application/json",
"anthropic-version": "2023-06-01", "anthropic-version": "2023-06-01",
"anthropic-dangerous-direct-browser-access": "true",
"x-api-key": key, "x-api-key": key,
}, },
method: "POST", method: "POST",