Skip to content

Commit

Permalink
Add .htaccess file
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Jul 30, 2024
1 parent c681c8e commit b181851
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/.htaccess.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
permalink: .htaccess
eleventyExcludeFromCollections: true
---
ErrorDocument 404 /404.html

<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>

0 comments on commit b181851

Please sign in to comment.