Merge pull request #294 from hoilc/patch-1
fix(claude): enable CORS support
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user