From 994fa044157219c4920d289e2a7466dc87283205 Mon Sep 17 00:00:00 2001 From: Chris Park Date: Tue, 19 Sep 2023 11:51:44 +0930 Subject: [PATCH] remove unnecessary logging --- packages/prerender-fargate/lib/prerender/server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/prerender-fargate/lib/prerender/server.js b/packages/prerender-fargate/lib/prerender/server.js index 49d95b2f..4abdbfdb 100644 --- a/packages/prerender-fargate/lib/prerender/server.js +++ b/packages/prerender-fargate/lib/prerender/server.js @@ -46,8 +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') { - console.log("skipping requestReceived from S3 Cache... ") - return next(); +\ return next(); } var key = req.prerender.url;