mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-02 12:07:34 +00:00
fix: disable mobile guide
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user