fix: backport SPA routing block added directly on production (2026-05-01) to web/.htaccess

Production app2.m8chat.au/.htaccess gained Flutter HTML5 routing rules
edited live on brisbane01; local repo never received them. Full-tree
md5 comparison (45 files) shows this was the only drift.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 04:53:53 +10:00
parent 1cffe09faf
commit 0672f6b28b

View File

@@ -4,3 +4,12 @@
Header set Cross-Origin-Opener-Policy "same-origin" Header set Cross-Origin-Opener-Policy "same-origin"
Header set Cross-Origin-Embedder-Policy "require-corp" Header set Cross-Origin-Embedder-Policy "require-corp"
</IfModule> </IfModule>
# Flutter HTML5 routing — all unknown paths serve index.html
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.html [L,QSA]