From d2eeada36747a97647b58388dbf40b88152a9801 Mon Sep 17 00:00:00 2001 From: RasmusMalver Date: Wed, 6 Nov 2024 21:15:38 +0100 Subject: [PATCH] Bedre regex i htaccess --- htaccess | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htaccess b/htaccess index 23f3340b..498a3b8d 100644 --- a/htaccess +++ b/htaccess @@ -31,11 +31,10 @@ RewriteRule "^indsamlingstilladelse2021$" "/assets/docs/indsamlingstilladelse202 RewriteRule "^indsamlingstilladelse2022$" "/assets/docs/indsamlingstilladelse2022b.pdf" [NC] RewriteRule "^indsamlingstilladelse(?:2023)?$" "/assets/docs/indsamlingstilladelse2023.pdf" [NC] - # Regnskaber RewriteRule "^regnskab2021(?:.pdf)$" "/assets/docs/Regnskab2021.pdf" [NC] -RewriteRule "^regnskab(?:2022)?$" "/assets/docs/Regnskab2022.pdf" [NC] -RewriteRule "^regnskab(?:2023)?$" "/assets/docs/Regnskab2023.pdf" [NC] +RewriteRule "^regnskab2022(?:.pdf)$" "/assets/docs/Regnskab2022.pdf" [NC] +RewriteRule "^regnskab2023(?:.pdf)$" "/assets/docs/Regnskab2023.pdf" [NC] ### Processkrifter ###