Spaces:
Running
Running
Update scripts/chat.js
Browse files- scripts/chat.js +1 -1
scripts/chat.js
CHANGED
@@ -33,7 +33,7 @@ async function sendMessage() {
|
|
33 |
chatMessages.scrollTop = chatMessages.scrollHeight;
|
34 |
|
35 |
// 3. Fetch the real response
|
36 |
-
const workerUrl = 'https://
|
37 |
|
38 |
try {
|
39 |
const response = await fetch(workerUrl, {
|
|
|
33 |
chatMessages.scrollTop = chatMessages.scrollHeight;
|
34 |
|
35 |
// 3. Fetch the real response
|
36 |
+
const workerUrl = 'https://stream-ai-backend.smplushypermedia.workers.dev/'; // <-- Make sure your URL is here
|
37 |
|
38 |
try {
|
39 |
const response = await fetch(workerUrl, {
|