When prod/staging endpoints are configured with a root domain (e.g. https://example.com/api/trigger), and a redirect is configured in vercel to redirect example.com -> www.example.com, we fail to follow the redirect and are unable to connect to the endpoint. We should handle this situation and make sure redirects are followed (and better yet, update the endpoint to the correct URL, since the redirect is permanent (308)
TRI-1739