diff --git a/.dockerignore b/.dockerignore index 5db08b7bf..77470feb1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -32,7 +32,6 @@ tsconfig.json /extra/healthcheck.exe /extra/healthcheck /extra/exe-builder -/extra/push-examples /extra/uptime-kuma-push # Comment the following line if you want to rebuild the healthcheck binary diff --git a/server/modules/apicache/apicache.js b/server/modules/apicache/apicache.js index 41930b24d..95a04d9e3 100644 --- a/server/modules/apicache/apicache.js +++ b/server/modules/apicache/apicache.js @@ -485,7 +485,7 @@ function ApiCache() { } if (typeof duration === "string") { - let split = duration.match(/^([\d\.,]+)\s?(\w+)$/); + let split = duration.match(/^([\d\.,]+)\s?([a-zA-Z]+)$/); if (split.length === 3) { let len = parseFloat(split[1]); diff --git a/server/notification-providers/google-chat.js b/server/notification-providers/google-chat.js index 0b72fea95..9e94844d7 100644 --- a/server/notification-providers/google-chat.js +++ b/server/notification-providers/google-chat.js @@ -72,6 +72,7 @@ class GoogleChat extends NotificationProvider { // construct json data let data = { + fallbackText: chatHeader["title"], cardsV2: [ { card: {