Skip to content

Commit

Permalink
.htacess for index.html only :)
Browse files Browse the repository at this point in the history
  • Loading branch information
ut committed Dec 14, 2024
1 parent f2e07da commit a5c0872
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# Redirect all requests to index.html
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>

0 comments on commit a5c0872

Please sign in to comment.