Files
btrc-hub/frontend/public/.htaccess
T
2025-07-31 23:15:42 +09:00

19 lines
435 B
ApacheConf

<IfModule mod_headers.c>
<FilesMatch "\.(css|js|jpg|png|webp|woff2?)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# routes #
RewriteCond %{REQUEST_URI} !^/api
RewriteCond %{REQUEST_URI} !^/sitemap\.xml
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ /index.html [L]
</IfModule>