RewriteEngine On

# Exclude /assets/* from the redirection
RewriteCond %{REQUEST_URI} !^/assets/

# Redirect all other requests to the home page
RewriteRule ^ https://www.casy.org/ [L,R=301]