From d3aa537af26c1185b0726c6ed18ddd2c7ca66792 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 e705014add..05e4080f96 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -149,7 +149,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; } }