diff --git a/packages/react-sdk-components/src/components/template/AppShell/AppShell.tsx b/packages/react-sdk-components/src/components/template/AppShell/AppShell.tsx index 4874e293..388a3f24 100644 --- a/packages/react-sdk-components/src/components/template/AppShell/AppShell.tsx +++ b/packages/react-sdk-components/src/components/template/AppShell/AppShell.tsx @@ -112,6 +112,11 @@ export default function AppShell(props: PropsWithChildren) { }); setMapChildren(tempMap); + + /* TODO: We're setting the `pyPortalTemplate` for now, this would be handled by the CoreJS in the future releases */ + if (portalTemplate === 'wss') { + PCore.getEnvironmentInfo().setEnvironmentInfo({ ...PCore.getEnvironmentInfo().environmentInfoObject, pyPortalTemplate: 'wss' } as any); + } }, []); useEffect(() => {