Skip to content

Commit

Permalink
Merge pull request #83 from BitteProtocol/cors-header
Browse files Browse the repository at this point in the history
Add CORS header
  • Loading branch information
tifrel authored Feb 10, 2025
2 parents f18a9a3 + 85cbc7e commit f70e521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/chat/ChatContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const ChatContent = ({
initialMessages,
headers: {
Authorization: `Bearer ${apiKey}`,
'Access-Control-Allow-Origin': '*',
},
body: {
id: chatId,
Expand Down

0 comments on commit f70e521

Please sign in to comment.