From 5e153d0040254adeffd366247e2d458cbcd206eb Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Tue, 8 Sep 2020 22:17:56 +0900 Subject: [PATCH] Fix cache format --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index a7c6dc5..9176136 100644 --- a/index.ts +++ b/index.ts @@ -68,7 +68,7 @@ export default async (req: ServerRequest) => { headers: new Headers( { "Content-Type": "image/svg+xml", - "Cache-Control": `public, max-age: ${CONSTANTS.CACHE_MAX_AGE}`, + "Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}`, }, ), },