<IfModule mod_rewrite.c>
  RewriteEngine on

  # Handle requests to existing files or directories
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  # Redirect all other requests to index.html
  RewriteRule ^.*$ /index.html [L]
</IfModule>
