From c2008a339fbbd549a927a34d6370894669a29edc Mon Sep 17 00:00:00 2001 From: Chris Park Date: Thu, 21 Sep 2023 08:29:07 +0930 Subject: [PATCH] fix typo --- packages/prerender-fargate/lib/prerender/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prerender-fargate/lib/prerender/server.js b/packages/prerender-fargate/lib/prerender/server.js index 4abdbfdb..e248cc76 100644 --- a/packages/prerender-fargate/lib/prerender/server.js +++ b/packages/prerender-fargate/lib/prerender/server.js @@ -46,7 +46,7 @@ if (process.env.ENABLE_REDIRECT_CACHE.toLowerCase() === 'true'){ // s3cache plugin - https://github.com/prerender/prerender-aws-s3-cache/blob/98707fa0f787de83aa41583682cd2c2d330a9cca/index.js requestReceived: function(req, res, next) { if(req.method !== 'GET' && req.method !== 'HEAD') { -\ return next(); + return next(); } var key = req.prerender.url;