delete logs and fix hydration error

This commit is contained in:
YasinOnm08 2024-10-11 10:46:05 +02:00
parent 4ed2756b9a
commit 891dabcabf
10 changed files with 37 additions and 70 deletions

View file

@ -17,8 +17,6 @@ const fetchData = () => {
const apiURL = new URL("http://localhost:5000/interstellar_ai/api/ai_get?access_token=" + accesstoken);
apiURL.hostname = windownameGlobal; // Set the hostname
console.log(apiURL.href); // Log the constructed URL
axios.get(apiURL.href)
.then(response => {
postMessage(response.data); // Send data back on success