feat: check production
This commit is contained in:
+1
-1
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user