mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 14:27:34 +00:00
Update apps/login/src/lib/service.ts
Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -115,6 +115,7 @@ export function constructUrl(request: NextRequest, path: string) {
|
||||
|
||||
const forwardedHost =
|
||||
request.headers.get("x-zitadel-forward-host") ??
|
||||
request.headers.get("x-forwarded-host") ??
|
||||
request.headers.get("host");
|
||||
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || "";
|
||||
return new URL(
|
||||
|
Reference in New Issue
Block a user