fix: disable mobile guide

This commit is contained in:
Joël Poyet
2025-04-15 17:46:11 +02:00
committed by Joël Poyet
parent 3c7b44366d
commit d3aa537af2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 => {
+1 -1
View File
@@ -149,7 +149,7 @@ async function start(): Promise<void> {
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;
}
}