This pull request aims to resolve the issue of "Too many redirects" in Next.js 13 with Nextra 2.
Bug Details
The bug occurs when there are multiple redirects happening in the application, leading to an excessive number of redirects and resulting in the "Too many redirects" error.
Description
This pull request aims to resolve the issue of "Too many redirects" in Next.js 13 with Nextra 2.
Bug Details
The bug occurs when there are multiple redirects happening in the application, leading to an excessive number of redirects and resulting in the "Too many redirects" error.
Reference: https://github.com/shuding/nextra/issues/2566#issue-2021990557
Steps to Reproduce
To reproduce the bug: