got rid of console.logs

This commit is contained in:
YasinOnm08 2024-10-01 09:22:33 +02:00
parent 8ee87b88e9
commit 171e8fd458
8 changed files with 14 additions and 44 deletions

View file

@ -12,15 +12,10 @@ onmessage = (e) => {
api_key: api_key
}
console.log(Message);
axios.post("http://localhost:5000/interstellar_ai/api/ai_send", Message)
.then(response => {
const status = response.data.status
console.log(status);
postMessage({ status })
console.log('message posted');
})
.catch(error => {