You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems when we run gatsby-plugin-s3 deploy an putBucketWebsite is sent and hardcodes 404.html to be ErrorDocument even if the targeted s3 bucket is not configured to use 404.html as ErrorDocument.
The text was updated successfully, but these errors were encountered:
peteryhwong
changed the title
Seems gatsby-plugin-s3 deploy always set forcibly ErrorDocument to 404.html
Seems gatsby-plugin-s3 deploy always sets ErrorDocument to 404.html
Oct 19, 2022
I'll happily review a PR that makes this configurable. Is there a particular reason why you want your ErrorDocument to be called something else though? The easiest fix here is to call your error document 404.html.
Seems when we run
gatsby-plugin-s3 deploy
anputBucketWebsite
is sent and hardcodes404.html
to beErrorDocument
even if the targeted s3 bucket is not configured to use404.html
asErrorDocument
.https://github.com/jariz/gatsby-plugin-s3/blob/9365136039514771d03f965d4f240f55fc7722e7/gatsby-plugin-s3/src/bin.ts#L215
The text was updated successfully, but these errors were encountered: