diff --git a/src/.htaccess b/src/.htaccess index 75aecb3..fde78e5 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -1,6 +1,11 @@ - RewriteEngine On # Redirection of requests to index.html RewriteCond - %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] RewriteCond - %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^.*$ - [NC,L] # Redirect all - non-file routes to index.html RewriteRule ^(?!.*\.).*$ index.html [NC,L] - + RewriteEngine On + + # Redirection of requests to index.html + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d + RewriteRule ^.*$ - [NC,L] + # Redirect all non-file routes to index.html + RewriteRule ^(?!.*\.).*$ index.html [NC,L] + + \ No newline at end of file