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:
parent
d910b9db57
commit
f115028961
|
@ -44,7 +44,7 @@ export async function getDynamicBrandingUrl(stateful: Object | Function) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { brandingDataUrl: baseUrl } = config;
|
const { brandingDataUrl: baseUrl } = config;
|
||||||
const fqn = extractFqnFromPath();
|
const fqn = extractFqnFromPath(state);
|
||||||
|
|
||||||
if (baseUrl && fqn) {
|
if (baseUrl && fqn) {
|
||||||
return `${baseUrl}?conferenceFqn=${encodeURIComponent(fqn)}`;
|
return `${baseUrl}?conferenceFqn=${encodeURIComponent(fqn)}`;
|
||||||
|
|
Loading…
Reference in New Issue