diff --git a/packages/prerender-fargate/lib/prerender/server.js b/packages/prerender-fargate/lib/prerender/server.js index ac61cf84..ac8b6ba0 100644 --- a/packages/prerender-fargate/lib/prerender/server.js +++ b/packages/prerender-fargate/lib/prerender/server.js @@ -16,7 +16,7 @@ const crypto = require('crypto'); const s3Cache = require('prerender-aws-s3-cache'); const server = prerender({ - chromeFlags: ['--no-sandbox', '--headless', '--disable-gpu', '--remote-debugging-port=9222', '--hide-scrollbars', '--disable-dev-shm-usage'], + chromeFlags: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-web-security', '--remote-debugging-port=9222', '--hide-scrollbars', '--disable-dev-shm-usage'], forwardHeaders: true, chromeLocation: '/usr/bin/chromium-browser' }); diff --git a/packages/prerender-fargate/package.json b/packages/prerender-fargate/package.json index ddfa069d..dff13081 100644 --- a/packages/prerender-fargate/package.json +++ b/packages/prerender-fargate/package.json @@ -1,6 +1,6 @@ { "name": "@aligent/cdk-prerender-fargate", - "version": "2.3.1", + "version": "2.3.3", "description": "A construct to host Prerender in Fargate", "main": "index.js", "scripts": {