Skip to content

Commit

Permalink
Add test file
Browse files Browse the repository at this point in the history
Delete it next week
  • Loading branch information
Folyd authored May 20, 2024
1 parent e075c19 commit 8b54731
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions static/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<filesMatch "\.(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule $ index.html [T=application/x-httpd-cgi,L]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

0 comments on commit 8b54731

Please sign in to comment.