fixed location

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 02:19:59 +01:00
parent bcd81120e9
commit b24934a866
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<div class="container">
<?php
if ($conn->query($update_query) === TRUE) {
header("Location: ".$_SERVER['SERVER_NAME']."/");
header("Location: /");
$conn->close();
exit();
} else {