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

feat(single-page-app): add pdf to redirect regex #199

Conversation

GuillaumeLagrange
Copy link
Contributor

When trying to serve a pdf as a static file with the single page app contruct, the cloudfront distribution would redirect to index.html because the pdf file extension was not whitelisted.

This PR adds the pdf file extension to the whitelist so that users can serve pdf files statically.

@mnapoli mnapoli added the enhancement New feature or request label May 3, 2022
@mnapoli
Copy link
Member

mnapoli commented May 3, 2022

LGTM, but I think the tests need to be updated too 👍

@GuillaumeLagrange
Copy link
Contributor Author

Indeed, should have caught that locally 👍

Fixed locally, pipeline should be good now

@fredericbarthelet
Copy link
Collaborator

LGTM, thanks @GuillaumeLagrange

@fredericbarthelet fredericbarthelet merged commit f715c86 into getlift:master May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants