Quick-link

This commit is contained in:
headpatsyou 2026-01-08 19:20:02 +00:00
parent a200dc05e3
commit fa16e106ce

10
src/app/gerir/route.ts Normal file
View file

@ -0,0 +1,10 @@
import { NextRequest, NextResponse } from 'next/server'
export async function GET(req: NextRequest) {
const auth = req.nextUrl.searchParams.get('auth') || ''
const redirectUrl = new URL('/', req.url)
if (auth) {
redirectUrl.searchParams.set('auth', auth)
}
return NextResponse.redirect(redirectUrl)
}