From aa7f5d636e41298fab6f9243fa50bf1b895c6ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Mon, 29 Apr 2024 21:20:06 +0200 Subject: [PATCH] Set 500 status code on error page request --- src/pages/error.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/error.astro b/src/pages/error.astro index 7bd5e89..57b9b12 100644 --- a/src/pages/error.astro +++ b/src/pages/error.astro @@ -1,5 +1,7 @@ --- import BaseLayout from '@/layouts/BaseLayout.astro'; + +Astro.response.status = 500; ---