Overriding Pretty URL's for specific URL's

I have an app I want to use with Nextcloud News called Fiery feeds that seems to use a hard-coded url path of “index.php/apps/news/api/v1-2/…” . However, I still have pretty URL’s enabled and I would like to keep them that way. Is there a RewriteRule I can use to disable pretty URL’s for this specific path?