10 lines
263 B
JavaScript
10 lines
263 B
JavaScript
|
// document.addEventListener("DOMContentLoaded", () =>
|
||
|
// {
|
||
|
// fetch("isLoggedIn.php").then(res => res.json().then(json =>
|
||
|
// {
|
||
|
// if (json.message !== "ok")
|
||
|
// {
|
||
|
// window.location.href = "index.html";
|
||
|
// }
|
||
|
// }));
|
||
|
// });
|