Skip to content

Commit

Permalink
refactor: invert conditions to trigger mamoto (single domain)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 11, 2023
1 parent c471beb commit 15d2f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15d2f5b

Please sign in to comment.