chore: update env variable for ai worker

This commit is contained in:
Akhileshrangani4 2024-10-17 22:28:25 -04:00
parent 751d9a3005
commit 9e13db2020

View File

@ -88,7 +88,7 @@ export const handleSend = async (
content: msg.content content: msg.content
})); }));
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/api`, { const response = await fetch(`${process.env.NEXT_PUBLIC_AI_WORKER_URL}/api`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',