skip to Main Content

Why do I get a 404 for half a second when clicking a next.js `Link` that just calls an API endpoint and then navigates to the correct page?

Hiho, I followed this guide here: https://auth0.com/blog/next-js-authentication-tutorial/ (adding auth with passport to next.js) I have one simple problem. In my "/login" Link from next.js when I click it, I can see this error for about 200ms: Request URL: http://localhost:3000/_next/static/development/pages/login.js Request…

VIEW QUESTION
Back To Top
Search