fix(claude): enable CORS support

This commit is contained in:
hoilc
2025-08-22 08:03:10 +08:00
committed by GitHub
parent 663407b95d
commit d2addf58cb

View File

@@ -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",