mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 12:14:41 -05:00
Add a comment
This commit is contained in:
parent
bbaba29222
commit
8412e19fe6
@ -416,8 +416,12 @@ class UptimeKumaServer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default User-Agent when making HTTP requests
|
||||||
|
* @returns {string} User-Agent
|
||||||
|
*/
|
||||||
getUserAgent() {
|
getUserAgent() {
|
||||||
return "Uptime-Kuma/" + require("../package.json").version
|
return "Uptime-Kuma/" + require("../package.json").version;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user