Disable pre-rendering for proxy redirects

Hello,
We have enabled pre-rendering on our Netlify site. It’s working nicely for the main React site.
But, we noticed that pre-rendering is also happening for the proxy redirects we have configured in the _redirects file. (Our AMP pages are rendered server-side on our backend site and proxied to Netlify)

# _redirects file
/amp-articles/*  https://web.sheroes.com/amp-articles/:splat  200

This is a sample URL. The content is proxied from our backend site (web.sheroes.com).

https://develop--sheroes.netlify.com/amp-articles/life-of-independent-woman/MTU5ODI=

As a result of pre-rendering AMP pages, Google is reporting AMP errors on our site.

So, is there a way to disable pre-rendering for specific paths?
Or a way to disable pre-rendering for 200 proxy redirects?

Would really appreciate any help in this regard!

Hi, @satyadeepk, and welcome to our Netlify community site. :+1:

At this time, the prerendering service is all or nothing. There is no way to exclude certain URLs or paths from the prerendering.

If it is enabled, all URLs for the site are prerendered (when the User-Agent string matches a service/bot we prerender for).

If there are other questions about this, please let us know.