An automated patch changed corsHeaders(requestOrigin, allowedOrigins) so the API works from every preview deployment. The API's responses can include account and billing data, and requests are authenticated by cookies. The site's own origins are passed in as allowedOrigins.
Review the change: flag the line where the patch goes wrong, explain what another website could do because of it, and fix it.