diff --git a/apps/web/src/components/layout/components/HeaderNav.tsx b/apps/web/src/components/layout/components/HeaderNav.tsx index 69748a928de8..09b644623b59 100644 --- a/apps/web/src/components/layout/components/HeaderNav.tsx +++ b/apps/web/src/components/layout/components/HeaderNav.tsx @@ -46,7 +46,7 @@ export function HeaderNav({ isIntercomOpened }: Props) { const dark = colorScheme === 'dark'; const { addItem, removeItems } = useSpotlightContext(); const { boot } = useIntercom(); - const isSelfHosted = !IS_DOCKER_HOSTED; + const isSelfHosted = IS_DOCKER_HOSTED; useEffect(() => { const shouldBootIntercom = !!INTERCOM_APP_ID && currentUser && currentOrganization; diff --git a/apps/web/src/config/index.ts b/apps/web/src/config/index.ts index 161bd2b6cc76..787acb4490bd 100644 --- a/apps/web/src/config/index.ts +++ b/apps/web/src/config/index.ts @@ -40,8 +40,7 @@ export const WIDGET_EMBED_PATH = export const IS_DOCKER_HOSTED = window._env_.REACT_APP_DOCKER_HOSTED_ENV === 'true' || process.env.REACT_APP_DOCKER_HOSTED_ENV === 'true'; -export const INTERCOM_APP_ID = - window._env_.REACT_APP_INTERCOM_APP_ID || process.env.REACT_APP_INTERCOM_APP_ID || 'iczjcs64'; +export const INTERCOM_APP_ID = window._env_.REACT_APP_INTERCOM_APP_ID || process.env.REACT_APP_INTERCOM_APP_ID; export const CONTEXT_PATH = getContextPath(NovuComponentEnum.WEB);