# CompareKit - Simple Configuration
Options -Indexes
DirectoryIndex index.html

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /CompareKit/

    # Redirect root to public/index.html if Node.js isn't running
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/CompareKit/public/
    RewriteRule ^$ public/index.html [L]
</IfModule>
