From a218e76f9db484d977e0ec28574f44ec7fb969c2 Mon Sep 17 00:00:00 2001 From: folx bot Date: Thu, 27 Aug 2026 07:40:05 +0200 Subject: [PATCH] Aktuelles: robots preko setRobots, da ne ostane dvojni meta robots --- server/static.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static.ts b/server/static.ts index 1759ff2..8133f68 100644 --- a/server/static.ts +++ b/server/static.ts @@ -619,10 +619,10 @@ export function serveStatic(app: Express) { template = stripExistingMeta(template); const aktTitle = "Aktuelles | Folx Music Television"; template = template.replace(/[^<]*<\/title>/, [ - '<meta name="robots" content="noindex, follow" />', `<link rel="canonical" href="${canonicalBase}/aktuelles" />`, `<title>${escapeHtml(aktTitle)}`, ].join("\n ")); + template = setRobots(template, "noindex, follow"); res.status(200).set({ "Content-Type": "text/html" }).end(template); return; }