Merge branch 'livekit' into eslint-upgrade
This commit is contained in:
@@ -70,9 +70,7 @@ interface WidgetHelpers {
|
||||
*/
|
||||
export const widget = ((): WidgetHelpers | null => {
|
||||
try {
|
||||
const query = new URLSearchParams(window.location.search);
|
||||
const widgetId = query.get("widgetId");
|
||||
const parentUrl = query.get("parentUrl");
|
||||
const { widgetId, parentUrl } = getUrlParams();
|
||||
|
||||
if (widgetId && parentUrl) {
|
||||
const parentOrigin = new URL(parentUrl).origin;
|
||||
|
||||
Reference in New Issue
Block a user