Endra navn på api

This commit is contained in:
Trygve
2024-10-27 18:34:42 +01:00
parent 35df188cf6
commit 3ec19dd4cb
5 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@
</div>
<h2>Vi tar forbehold om feil. Dette er ikke offisielle resultater</h2>
<?php
include("get_table.php")
include("table.php")
?>
<footer>
<h3>Laget av Trygve. <a href="https://git.willy.club/Trygve/elektronisk-kadaver-tidtakingssystem">Kildekode</a></h3>
@@ -30,7 +30,7 @@ include("get_table.php")
<script>
function update() {
const table = document.querySelector("table");
const myRequest = new Request(`get_table.php`);
const myRequest = new Request(`table.php`);
fetch(myRequest)
.then((response) => response.text())
.then((text) => {