diff --git a/extensions/chrome/popup.js b/extensions/chrome/popup.js index 22d37f4b..8f6c4ded 100644 --- a/extensions/chrome/popup.js +++ b/extensions/chrome/popup.js @@ -21,12 +21,12 @@ document.getElementById("message-form").addEventListener("submit", function(even } // send post request to server http://127.0.0.1:5000/ with message in json body - fetch('http://127.0.0.1:5000/api/answer', { + fetch('http://127.0.0.1:5001/api/answer', { method: 'POST', headers: { 'Content-Type': 'application/json', }, - body: JSON.stringify({question: message}), + body: JSON.stringify({question: message, history: null}), }) .then(response => response.json()) .then(data => {