fix: use true ua for stats
This commit is contained in:
+2
-2
@@ -721,11 +721,11 @@ calculateValue();
|
||||
}
|
||||
|
||||
if (!envs.DISABLE_UMAMI && envs.NODE_ENV === 'production') {
|
||||
ofetch(`https://umami.rss3.io/api/send`, {
|
||||
ofetch('https://umami.rss3.io/api/send', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36',
|
||||
'user-agent': TRUE_UA,
|
||||
},
|
||||
body: JSON.stringify({
|
||||
payload: {
|
||||
|
||||
Reference in New Issue
Block a user