fix: corregir formato de control de caché en la respuesta del servidor
This commit is contained in:
@@ -251,6 +251,7 @@ const sendResponse = async (
|
||||
? "no-cache"
|
||||
: "public, max-age=86400, immutable";
|
||||
|
||||
|
||||
const stat = await fs.stat(filePath).catch(() => undefined);
|
||||
const data = await fs.readFile(filePath);
|
||||
const etag = computeEtag(data);
|
||||
|
||||
Reference in New Issue
Block a user