Skip to content

Commit

Permalink
rework htaccess file
Browse files Browse the repository at this point in the history
  • Loading branch information
joamartin committed Sep 11, 2024
1 parent 41f7059 commit d6e6a33
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>

0 comments on commit d6e6a33

Please sign in to comment.