cdn: actually execute controllers

This commit is contained in:
Rory&
2026-01-23 12:00:34 +01:00
parent 0ed83c0b6c
commit e52f4c3cd0
+1
View File
@@ -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();
}