Add a comment

This commit is contained in:
Louis Lam 2023-10-19 09:41:30 +08:00
parent bbaba29222
commit 8412e19fe6

View File

@ -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;
} }
} }