Infinite redirect loop in NextJS development environment | Vectle