Skip to content

Commit

Permalink
Merge pull request #1344 from aligent/feature/DO-1557_address_timeout…
Browse files Browse the repository at this point in the history
…_error

DO-1557: disable checking CORS
  • Loading branch information
crispy101 authored Apr 9, 2024
2 parents 982dfad + 64fb836 commit 38a6dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/prerender-fargate/lib/prerender/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
Expand Down
2 changes: 1 addition & 1 deletion packages/prerender-fargate/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 38a6dca

Please sign in to comment.