mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-29 02:19:21 +08:00
add telegram notification
This commit is contained in:
@@ -10,6 +10,10 @@ export function sleep(ms) {
|
||||
}
|
||||
|
||||
export function ucfirst(str) {
|
||||
if (! str) {
|
||||
return str;
|
||||
}
|
||||
|
||||
const firstLetter = str.substr(0, 1);
|
||||
return firstLetter.toUpperCase() + str.substr(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user