Skip to content

Commit

Permalink
feat: check production
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jul 23, 2024
1 parent 703e46d commit 9586a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 9586a2a

Please sign in to comment.