Options -MultiViews
RewriteEngine On

# Serve existing files and folders as-is (JS, CSS, images, etc.)
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Hash-router SPA: send unknown paths to index.html
RewriteRule ^ index.html [L]
