fix: prevent stale auth shell on Timeweb

This commit is contained in:
pavlov346346-source 2026-09-12 08:12:11 +03:00
parent b77c47e5a6
commit 2678b1571c

19
public/.htaccess Normal file
View File

@ -0,0 +1,19 @@
<IfModule mod_headers.c>
<FilesMatch "^(index\.html|service-worker\.js)$">
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
Header set Expires "0"
</FilesMatch>
<FilesMatch "^(performance\.js|login-signature-v1776\.js|auth-security-v1774\.js)$">
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
Header set Expires "0"
</FilesMatch>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType application/javascript "access plus 0 seconds"
</IfModule>