mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-21 01:07:36 +00:00
check for forward-host again
This commit is contained in:
@@ -71,7 +71,7 @@ export function getServiceUrlFromHeaders(headers: ReadonlyHeaders): {
|
||||
} {
|
||||
let instanceUrl;
|
||||
|
||||
const forwardedHost = headers.get("host");
|
||||
const forwardedHost = headers.get("x-zitadel-forward-host");
|
||||
// use the forwarded host if available (multitenant), otherwise fall back to the host of the deployment itself
|
||||
if (forwardedHost) {
|
||||
instanceUrl = forwardedHost;
|
||||
|
Reference in New Issue
Block a user