diff --git a/lib/config.ts b/lib/config.ts index 11bd26c9e..851028b63 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -719,26 +719,6 @@ calculateValue(); logger.error('Remote config load failed.', error); } } - - if (!envs.DISABLE_UMAMI && envs.NODE_ENV === 'production') { - ofetch('https://umami.rss3.io/api/send', { - method: 'POST', - headers: { - 'content-type': 'application/json', - 'user-agent': TRUE_UA, - }, - body: JSON.stringify({ - payload: { - hostname: 'rsshub.app', - language: 'en-US', - referrer: 'rsshub.app', - url: 'rsshub.app', - website: '239067cd-231f-4a3f-a478-cced11a84876', - }, - type: 'event', - }), - }); - } })(); // @ts-expect-error value is set