6
0
Fork 0

remove debug outout

master
Dirk Heilig 2024-01-09 13:03:14 +01:00
parent 0f3c940c3f
commit 38d31ec345
1 changed files with 0 additions and 1 deletions

View File

@ -4,7 +4,6 @@ document.addEventListener("DOMContentLoaded", function() {
fetch("https://spaceapi.c3re.de/").then(function(response) {
return( response.json());
}).then(function(data) {
console.log(data)
document.getElementById("ds-img").setAttribute("src",data.state.open?data.state.icon.open:data.state.icon.closed);
document.getElementById("ds-status").innerHTML=data.state.open?"Geöffnet":"Geschlossen";