Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bucket policy for serving SPA with logical routes #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rspitler
Copy link

Add policy statement to allow CloudFront OriginAccess Identity to ListBucket. This means that when a unknown object is requested it returns a 404 instead of a 403. For SPA hosted by CloudFront this allows for the custom error logic to serve the SPA instead of a 404 page for a logical route.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…tBucket. This means that when a unknown object is requested it returns a 404 instead of a 403. For SPA hosted by CloudFront this allows for the custom error logic to serve the SPA instead of a 404 page for a logical route.
@ConnorKirk ConnorKirk self-assigned this Jan 10, 2022
Copy link
Contributor

@rezabekf rezabekf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants