The api directory conflicts with nextauth's directory structure /app/api/auth/[...nextauth]. I think that nextauth doesn't like another directory being called api. This has the result that nextauth's login page won't work. Is there a way to change the api directory name in root?
The api directory conflicts with nextauth's directory structure /app/api/auth/[...nextauth]. I think that nextauth doesn't like another directory being called api. This has the result that nextauth's login page won't work. Is there a way to change the api directory name in root?