Skip to content

Commit

Permalink
Enable generateRedirectObjectsForPermanentRedirects to skip S3 rout…
Browse files Browse the repository at this point in the history
…ing rule limit
  • Loading branch information
ppcano committed Dec 8, 2020
1 parent 1f96f70 commit 1e7ac8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ if (process.env.BUCKET_NAME) {
plugins.push({
resolve: `gatsby-plugin-s3`,
options: {
generateRedirectObjectsForPermanentRedirects: true,
bucketName: process.env.BUCKET_NAME,
region: process.env.BUCKET_REGION,
protocol: 'https',
Expand Down

0 comments on commit 1e7ac8c

Please sign in to comment.