I can run it locally just fine, but whenever I deploy it, I get this error in my logs...?
Somehow????
https://reactiflux-com.fly.dev/api/auth/callback/discord Redirects to localhost 3000 wtf I've searched the whole codebase for any references to localhost:3000 but no luck, so fucking confused lol Where's this shit coming from
Solution
Figured it out, next takes in NEXTAUTH_URL as environment, defaults to localhost:3000