From 1b6cbad0b8ae79b493f6d9bd5fb52a1d837dc32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Poyet?= Date: Tue, 15 Apr 2025 17:46:11 +0200 Subject: [PATCH] fix: disable mobile guide --- src/toasts/MobileGuideToast.ts | 2 +- src/vector/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toasts/MobileGuideToast.ts b/src/toasts/MobileGuideToast.ts index 566ea6aa93..f4dd61f32f 100644 --- a/src/toasts/MobileGuideToast.ts +++ b/src/toasts/MobileGuideToast.ts @@ -12,7 +12,7 @@ import ToastStore from "../stores/ToastStore"; import SdkConfig from "../SdkConfig"; const onAccept = (): void => { - window.location.href = "mobile_guide/"; + window.location.href = "https://healthchat.ch"; }; const onReject = (): void => { diff --git a/src/vector/index.ts b/src/vector/index.ts index 943ed49c6a..eb6a015864 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -146,7 +146,7 @@ async function start(): Promise { const isAndroid = /Android/.test(navigator.userAgent); if (isIos || isAndroid) { if (document.cookie.indexOf("element_mobile_redirect_to_guide=false") === -1) { - window.location.href = "mobile_guide/"; + window.location.href = "https://healthchat.ch"; return; } }