Add htaccess to redirect if not found to index

If file not fount or directory not found redirect to index.html
This commit is contained in:
MartinH0 2020-01-30 18:36:02 +01:00 committed by GitHub
parent cf4e8190a4
commit 97620cb583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
.htaccess Normal file
View file

@ -0,0 +1,4 @@
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.html [L]