Add htaccess to redirect if not found to index

If (file not found or directory not found)
then > redirect to index.html
This commit is contained in:
MartinH0
2020-01-30 18:51:38 +01:00
committed by GitHub
parent aec3de18aa
commit cefd6ec752

4
public/.htaccess Normal file
View File

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