diff --git a/lib/config.ts b/lib/config.ts index c6ae0b3ee..ce1604e4a 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -714,7 +714,7 @@ calculateValue(); } } - if (!envs.DISABLE_UMAMI) { + if (!envs.DISABLE_UMAMI && envs.NODE_ENV === 'production') { ofetch(`https://umami.rss3.io/api/send`, { method: 'POST', headers: {