RewriteEngine On

# PWA manifest MIME type (needed for install prompt in some setups)
AddType application/manifest+json .webmanifest
AddType application/manifest+json .manifest

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|css|js|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
