fix(rn,dynamic-branding) fix extracting fqdn from URL

On mobile we don't want to look in window.location.
This commit is contained in:
Saúl Ibarra Corretgé 2022-06-30 14:40:37 +03:00 committed by Saúl Ibarra Corretgé
parent d910b9db57
commit f115028961
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export async function getDynamicBrandingUrl(stateful: Object | Function) {
}
const { brandingDataUrl: baseUrl } = config;
const fqn = extractFqnFromPath();
const fqn = extractFqnFromPath(state);
if (baseUrl && fqn) {
return `${baseUrl}?conferenceFqn=${encodeURIComponent(fqn)}`;