Disable SPA redirect for now

This commit is contained in:
2023-07-09 01:38:57 +02:00
parent 088aa0dbcf
commit c4fee59446

View File

@@ -5,8 +5,8 @@ RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# https://kit.svelte.dev/docs/single-page-apps#apache # https://kit.svelte.dev/docs/single-page-apps#apache
RewriteBase / # RewriteBase /
RewriteRule ^index\.html$ - [L] # RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d # RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [QSA,L] # RewriteRule . /index.html [QSA,L]