diff --git a/public/snippet-script.js b/public/snippet-script.js index a2e306b8..8f974391 100644 --- a/public/snippet-script.js +++ b/public/snippet-script.js @@ -119,9 +119,10 @@ window.addEventListener('load', () => { conversational: { baseUrl: 'https://gplay-rag.internal.test.empathy.co' }, - lang, instance, + lang, audience: 'enterprise', + playboardUrl: `https://playboard-platform.staging.empathy.co/${instance}`, appContainerSelector: '.x-root-container', searchLayerSelector: '.x' }); diff --git a/src/App.vue b/src/App.vue index 716f9236..903962c9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -72,12 +72,12 @@ } @XOn(['ParamsLoadedFromUrl']) - // eslint-disable-next-line @typescript-eslint/no-unused-vars async requestAuthWysiwyg(payload: UrlParams): Promise { try { if (window.wysiwyg) { await window.wysiwyg?.requestAuth(); window.InterfaceX?.search(); + window.wysiwyg?.setContext({ query: payload.query }); } } catch (_) { // No error handling