From 230832c3824fd3b55b57dcc1ea00c0421f184f2d Mon Sep 17 00:00:00 2001 From: Fred Nnaji Date: Fri, 7 Mar 2025 22:49:38 +0200 Subject: [PATCH 1/2] Update TLS expiration warning (#5659) Co-authored-by: Frank Elsinga --- server/model/monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 3ad8cfafc..5999d93e7 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1434,7 +1434,7 @@ class Monitor extends BeanModel { for (let notification of notificationList) { try { log.debug("monitor", "Sending to " + notification.name); - await Notification.send(JSON.parse(notification.config), `[${this.name}][${this.url}] ${certType} certificate ${certCN} will be expired in ${daysRemaining} days`); + await Notification.send(JSON.parse(notification.config), `[${this.name}][${this.url}] ${certType} certificate ${certCN} will expire in ${daysRemaining} days`); sent = true; } catch (e) { log.error("monitor", "Cannot send cert notification to " + notification.name); From cf44d39e1b15cc4c2bab1ed11dc46b7888154a55 Mon Sep 17 00:00:00 2001 From: Melroy van den Berg Date: Fri, 7 Mar 2025 23:55:02 +0100 Subject: [PATCH 2/2] Do not use --production flag anymore (#5644) Co-authored-by: Frank Elsinga --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 76464e66c..58160b8de 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test2 --target pr-test2 . --push", "upload-artifacts": "node extra/release/upload-artifacts.mjs", "upload-artifacts-beta": "node extra/release/upload-artifacts-beta.mjs", - "setup": "git checkout 1.23.16 && npm ci --production && npm run download-dist", + "setup": "git checkout 1.23.16 && npm ci --omit dev && npm run download-dist", "download-dist": "node extra/download-dist.js", "mark-as-nightly": "node extra/mark-as-nightly.js", "reset-password": "node extra/reset-password.js",