Merge branch 'dev' of github.com:zitadel/typescript into dev

This commit is contained in:
Elio Bischof
2025-02-10 17:46:39 +01:00

View File

@@ -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;