# Enable URL rewriting
RewriteEngine On

# Redirect all requests to index.html except existing files or folders
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.html [L]
