This commit is contained in:
anto
2024-10-24 17:36:25 +02:00

View File

@@ -52,8 +52,8 @@ document.addEventListener("DOMContentLoaded", () => {
document.getElementById("name_project").innerHTML=global_project_list[projectId-1].titre;
fetch("https://timelapse.kerboul.me/api/smile")
.then(response => response.blob())
.then(blob => {
.then(response => response.blob())
.then(blob => {
const url = URL.createObjectURL(blob);
const imageElement = document.getElementById("my-image");
imageElement.src = url;