image 404 issue
This commit is contained in:
Vendored
+10
-1
@@ -1,7 +1,16 @@
|
||||
Options -MultiViews
|
||||
RewriteEngine On
|
||||
|
||||
# SPA fallback — serve index.html for non-file requests under /citpl_website
|
||||
# Never cache HTML entry points - otherwise browsers keep old JS that
|
||||
# requests /assets/* at domain root instead of /citpl_website/assets/*
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.(html)$">
|
||||
Header set Cache-Control "no-cache, no-store, must-revalidate"
|
||||
Header set Pragma "no-cache"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
# SPA fallback - serve index.html for non-file requests under /citpl_website
|
||||
RewriteBase /citpl_website/
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
Reference in New Issue
Block a user