mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-23 14:57:46 +00:00
lint
This commit is contained in:
@@ -200,7 +200,8 @@ async function findValidSession(
|
||||
|
||||
function constructUrl(request: NextRequest, path: string) {
|
||||
const forwardedHost =
|
||||
request.headers.get("x-zitadel-forward-host") ?? request.headers.get("host");
|
||||
request.headers.get("x-zitadel-forward-host") ??
|
||||
request.headers.get("host");
|
||||
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || "";
|
||||
return new URL(
|
||||
`${basePath}${path}`,
|
||||
|
Reference in New Issue
Block a user