fix(claude): enable CORS support
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user