mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:17:32 +00:00
nexturl protocol
This commit is contained in:
@@ -113,7 +113,7 @@ export function getServiceUrlFromHeaders(headers: ReadonlyHeaders): {
|
||||
export function constructUrl(request: NextRequest, path: string) {
|
||||
const forwardedProto = request.headers.get("x-forwarded-proto")
|
||||
? `${request.headers.get("x-forwarded-proto")}:`
|
||||
: request.protocol;
|
||||
: request.nextUrl.protocol;
|
||||
|
||||
const forwardedHost =
|
||||
request.headers.get("x-zitadel-forward-host") ??
|
||||
|
Reference in New Issue
Block a user