mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Add a comment
This commit is contained in:
parent
bbaba29222
commit
8412e19fe6
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue