mirror of https://github.com/louislam/uptime-kuma
Add a comment
parent
bbaba29222
commit
8412e19fe6
|
@ -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 New Issue