Bedre regex i htaccess
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
RasmusMalver 2024-11-06 21:15:38 +01:00
parent 4ccedad97d
commit d2eeada367

View file

@ -31,11 +31,10 @@ RewriteRule "^indsamlingstilladelse2021$" "/assets/docs/indsamlingstilladelse202
RewriteRule "^indsamlingstilladelse2022$" "/assets/docs/indsamlingstilladelse2022b.pdf" [NC] RewriteRule "^indsamlingstilladelse2022$" "/assets/docs/indsamlingstilladelse2022b.pdf" [NC]
RewriteRule "^indsamlingstilladelse(?:2023)?$" "/assets/docs/indsamlingstilladelse2023.pdf" [NC] RewriteRule "^indsamlingstilladelse(?:2023)?$" "/assets/docs/indsamlingstilladelse2023.pdf" [NC]
# Regnskaber # Regnskaber
RewriteRule "^regnskab2021(?:.pdf)$" "/assets/docs/Regnskab2021.pdf" [NC] RewriteRule "^regnskab2021(?:.pdf)$" "/assets/docs/Regnskab2021.pdf" [NC]
RewriteRule "^regnskab(?:2022)?$" "/assets/docs/Regnskab2022.pdf" [NC] RewriteRule "^regnskab2022(?:.pdf)$" "/assets/docs/Regnskab2022.pdf" [NC]
RewriteRule "^regnskab(?:2023)?$" "/assets/docs/Regnskab2023.pdf" [NC] RewriteRule "^regnskab2023(?:.pdf)$" "/assets/docs/Regnskab2023.pdf" [NC]
### Processkrifter ### ### Processkrifter ###