cookies bug fix
This commit is contained in:
@@ -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'})
|
||||
|
||||
Reference in New Issue
Block a user