# Salin file ini ke folder public/ proyek sebelum npm run build (ikut masuk ke dist/).
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

<IfModule mod_headers.c>
  <FilesMatch "(^index\.html|^sw\.js|^registerSW\.js|^manifest\.webmanifest|^workbox-.*\.js)$">
    Header set Cache-Control "no-cache, must-revalidate"
  </FilesMatch>
</IfModule>
