From 15d2f5b43ef2d7309d8abb872d301b6710c43e94 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 11 Dec 2023 20:16:30 +0000 Subject: [PATCH] refactor: invert conditions to trigger mamoto (single domain) --- src/frontend/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/App.jsx b/src/frontend/src/App.jsx index f0a2b05343..cf116e3dcc 100755 --- a/src/frontend/src/App.jsx +++ b/src/frontend/src/App.jsx @@ -64,7 +64,7 @@ const SentryInit = () => { // Matomo Tracking Component const MatomoTrackingInit = () => { useEffect(() => { - if (import.meta.env.MODE !== 'development' && import.meta.env.BASE_URL === 'fmtm.hotosm.org') { + if (import.meta.env.MODE === 'development' || import.meta.env.BASE_URL !== 'fmtm.hotosm.org') { return; } // Set matomo tracking id