Skip to content

Commit

Permalink
Updated user agent string.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed May 15, 2024
1 parent 6889f94 commit 9331047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Umami {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'User-Agent': `node/${process.version}`,
'User-Agent': `Mozilla/5.0 Node/${process.version}`,
},
body: JSON.stringify({ type, payload }),
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umami/node",
"version": "0.2.0",
"version": "0.3.0",
"description": "Node client for Umami",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 9331047

Please sign in to comment.