We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been reading through your great code.
I can't find where the code is to automatically switch to the chat window after logging in, and would appreciate it if you could point me to it.
What I don't understand is how to redirected to http://localhost:3000/chat/[id] after login, even though it is written as below.
app/(auth)/auth.config.ts ... if (isLoggedIn) { return Response.redirect(new URL(‘/’, nextUrl as unknown as URL)); } ... http://localhost:3000/login --> http://localhost:3000/chat/[id]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've been reading through your great code.
I can't find where the code is to automatically switch to the chat window after logging in, and would appreciate it if you could point me to it.
What I don't understand is how to redirected to http://localhost:3000/chat/[id] after login, even though it is written as below.
app/(auth)/auth.config.ts
...
if (isLoggedIn) {
return Response.redirect(new URL(‘/’, nextUrl as unknown as URL));
}
...
http://localhost:3000/login --> http://localhost:3000/chat/[id]
The text was updated successfully, but these errors were encountered: