cookies bug fix

This commit is contained in:
2026-03-19 19:00:17 +00:00
parent 644e45434e
commit 2d15819a70
4 changed files with 19 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ async function getData() {
return;
}
const day = today.getDay() * weekNumber.value;
const res = await fetch("http://localhost:3000/currentRooms", {
const res = await fetch("/currentRooms", {
method: "POST",
body: JSON.stringify({day: day}),
headers: new Headers({'content-type': 'application/json'})