Skip to content

Commit

Permalink
Merge pull request #19 from jovyllebermudez/development
Browse files Browse the repository at this point in the history
use new backend, instead of netlify function
  • Loading branch information
jovylle authored Oct 16, 2023
2 parents fd4a963 + 0eca61d commit 1710cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
scrollToBottom();
userInput.value = '';

fetch('/.netlify/functions/chat', {
fetch('https://asia-east1-project-402218.cloudfunctions.net/chat', {
method: 'POST',
body: JSON.stringify({ message: userMessage, history: messageHistory }),
headers: { 'Content-Type': 'application/json' }
Expand Down

0 comments on commit 1710cb6

Please sign in to comment.