From 594ff51baea6d505587517697d2d5dc2d2f85e38 Mon Sep 17 00:00:00 2001 From: Chris Park Date: Tue, 2 Jan 2024 10:16:37 +1030 Subject: [PATCH] DO-1394: troubleshoot response header issue --- 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 fddc258c..b2cbf743 100644 --- a/packages/prerender-fargate/lib/prerender/server.js +++ b/packages/prerender-fargate/lib/prerender/server.js @@ -65,7 +65,7 @@ server.use({ server.use(prerender.blacklist()); // Send 'X-Prerender': '1' -server.use(prerender.sendPrerenderHeader()); +// server.use(prerender.sendPrerenderHeader()); if (process.env.ENABLE_REDIRECT_CACHE.toLowerCase() === 'true'){ var he = require('he');