Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Oct 19, 2023
1 parent bbaba29 commit 8412e19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/uptime-kuma-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,12 @@ class UptimeKumaServer {
}
}

/**
* Default User-Agent when making HTTP requests
* @returns {string} User-Agent
*/
getUserAgent() {
return "Uptime-Kuma/" + require("../package.json").version
return "Uptime-Kuma/" + require("../package.json").version;
}
}

Expand Down

0 comments on commit 8412e19

Please sign in to comment.