Skip to content

Commit

Permalink
Use shelfio/chrome-aws-lambda-layer v45
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel committed Apr 9, 2024
1 parent 436e9e2 commit c897f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/sidecar-browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
'layers' => [
// "arn:aws:lambda:us-east-1:821527532446:layer:sidecar-browsershot-layer:2",
// "arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:42",
// "arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:45",
],

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Functions/BrowsershotFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ public function layers()
$region = config('sidecar.aws_region');

if ($region === 'ap-northeast-2') {
$chromeAwsLambdaVersion = 41;
$chromeAwsLambdaVersion = 44;
} else {
$chromeAwsLambdaVersion = 42;
$chromeAwsLambdaVersion = 45;
}

// Add Layers that each contain `puppeteer-core` and `@sparticuz/chromium`
Expand Down

0 comments on commit c897f99

Please sign in to comment.