Update dependencies (#6197)

This commit is contained in:
Louis Lam
2025-10-20 04:52:31 +08:00
committed by GitHub
parent 7c5c72d58d
commit 66e23dc4d9
3 changed files with 1075 additions and 985 deletions

View File

@@ -2,7 +2,7 @@
# Build in Golang
# Run npm run build-healthcheck-armv7 in the host first, another it will be super slow where it is building the armv7 healthcheck
############################################
FROM golang:1.19-buster
FROM golang:1-bookworm
WORKDIR /app
ARG TARGETPLATFORM
COPY ./extra/ ./extra/

2052
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -63,7 +63,11 @@ class NotificationProvider {
* @returns {Promise<string>} rendered template
*/
async renderTemplate(template, msg, monitorJSON, heartbeatJSON) {
const engine = new Liquid();
const engine = new Liquid({
root: "./no-such-directory-uptime-kuma",
relativeReference: false,
dynamicPartials: false,
});
const parsedTpl = engine.parse(template);
// Let's start with dummy values to simplify code