# API routing on Apache/LiteSpeed. Public docs are now inside the Telegram bot.
Options -Indexes
RewriteEngine On
RewriteRule ^docs(?:/)?$ - [R=404,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
