From 77ab8a4dacc101a7f6d037002bc04fabac229961 Mon Sep 17 00:00:00 2001 From: Johan Eliasson Date: Tue, 13 Apr 2021 10:27:30 +0200 Subject: [PATCH] Removed typo in cache-control header --- src/routes/storage/get.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/storage/get.ts b/src/routes/storage/get.ts index 44b5bb2b..65847b1e 100644 --- a/src/routes/storage/get.ts +++ b/src/routes/storage/get.ts @@ -153,7 +153,7 @@ export const getFile = async ( res.set('Content-Length', headObject.ContentLength?.toString()) res.set('Last-Modified', headObject.LastModified?.toUTCString()) res.set('Content-Disposition', `inline;`) - res.set('Cache-Control', 'public, max-age=3w1557600') + res.set('Cache-Control', 'public, max-age=31557600') res.set('ETag', headObject.ETag) // Set Content Range, Length Accepted Ranges