fix: corregir formato de control de caché en la respuesta del servidor

This commit is contained in:
2025-10-09 21:59:15 -05:00
parent dbb098e2bf
commit 9df5b9e970

View File

@@ -251,6 +251,7 @@ const sendResponse = async (
? "no-cache" ? "no-cache"
: "public, max-age=86400, immutable"; : "public, max-age=86400, immutable";
const stat = await fs.stat(filePath).catch(() => undefined); const stat = await fs.stat(filePath).catch(() => undefined);
const data = await fs.readFile(filePath); const data = await fs.readFile(filePath);
const etag = computeEtag(data); const etag = computeEtag(data);