mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-20 04:36:07 +00:00
update redirect
This commit is contained in:
@@ -40,7 +40,7 @@ export async function GET(req: Request) {
|
||||
return NextResponse.redirect(`${origin}/login?error=token_exchange`);
|
||||
}
|
||||
|
||||
const res = NextResponse.redirect(`${origin}/admin/dashboard`);
|
||||
const res = NextResponse.redirect(`${origin}/admin/create-news`);
|
||||
|
||||
// Secure cookies are ignored on http:// (e.g. localhost) — browser drops them.
|
||||
res.cookies.set("access_token", data.access_token, {
|
||||
|
||||
Reference in New Issue
Block a user