Too many redirects after squashing commits

Hi,

I was looking at build logs and realized that the next.js middleware was served via Netlify edge functions. This was causing too many redirects. Modifying the middleware fixed it for me.

1 Like