Acces-libre : Raspberry Pi integration #8

Merged
n07070 merged 16 commits from acces-libre into master 2026-03-30 11:06:05 +02:00
Showing only changes of commit 39d0c56672 - Show all commits

View File

@@ -244,7 +244,7 @@ function print_picture(data){
let time = currentDate.getHours() + ":" + currentDate.getMinutes() + ":" + currentDate.getSeconds(); let time = currentDate.getHours() + ":" + currentDate.getMinutes() + ":" + currentDate.getSeconds();
formData.set("img", picture, "picture.png"); formData.set("img", picture, "picture.png");
formData.set("signature", " Accès Libre ~ 1 An ~ Fête de la Musique Libre @ " + time) formData.set("signature", "Webcam")
fetch(url, { fetch(url, {
method: 'POST', // or 'PUT' method: 'POST', // or 'PUT'