mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-21 10:25:42 +00:00
set the right domain
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
export async function GET() {
|
||||
export async function GET(req: Request) {
|
||||
|
||||
const url = new URL(req.url);
|
||||
const origin = url.origin;
|
||||
|
||||
const redirect = encodeURIComponent(
|
||||
"http://localhost:3000/api/auth/callback"
|
||||
`${origin}/api/auth/callback`
|
||||
);
|
||||
|
||||
const keycloakUrl =
|
||||
|
||||
Reference in New Issue
Block a user