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

s3: set content-type header #235

Merged
merged 2 commits into from
Feb 3, 2022
Merged

s3: set content-type header #235

merged 2 commits into from
Feb 3, 2022

Conversation

hexsprite
Copy link
Contributor

When publishing to S3, assign the mime type of uploaded files properly so that the resources download properly. This fixes a bug where the published URL downloads the index.html vs. displaying it as a webpage in the browser.

@codeclimate
Copy link

codeclimate bot commented Jan 27, 2022

Code Climate has analyzed commit f9c5074 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.7% (0.0% change).

View more on Code Climate.

Copy link
Owner

@andrcuns andrcuns left a comment

Choose a reason for hiding this comment

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

Awesome, thanks! Just one minor change

@andrcuns andrcuns added the bug Something isn't working label Jan 27, 2022
@andrcuns andrcuns merged commit b188918 into andrcuns:main Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants