diff --git a/public/index.php b/public/index.php index a5bc9fa..30d32fd 100644 --- a/public/index.php +++ b/public/index.php @@ -1,16 +1,16 @@ prepare("SELECT * FROM municipalities WHERE slug = :slug"); @@ -18,42 +18,46 @@ $stmt->execute([':slug' => 'lohne']); $municipality = $stmt->fetch(); if (!$municipality) { - die("Municipality not found."); + http_response_code(404); + echo "