From e52f4c3cd06ef9045870ae24340912f44e9d141a Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 23 Jan 2026 12:00:34 +0100 Subject: [PATCH] cdn: actually execute controllers --- src/cdn/util/cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cdn/util/cache.ts b/src/cdn/util/cache.ts index 3c3ea8fb2..a36f2c4c0 100644 --- a/src/cdn/util/cache.ts +++ b/src/cdn/util/cache.ts @@ -21,4 +21,5 @@ import { NextFunction, Response, Request } from "express"; export function cache(req: Request, res: Response, next: NextFunction) { const cacheDuration = 21600; // 6 hours res.setHeader("Cache-Control", `public, max-age=${cacheDuration}, s-maxage=${cacheDuration}, immutable`); + next(); }