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

Attempted fix for content_types not being applied #153

Closed
wants to merge 1 commit into from

Conversation

ndorfin
Copy link

@ndorfin ndorfin commented Jul 9, 2018

Fixes: #134

Hi @fredjean

It looks like content-type checking was broken in a previous version, and our project desperately needs UTF-8 charsets set on the text-like assets we're deploying to S3.

This PR attempts to fix config-defined content_types not being applied to resources during sync.

I'm sure there's probably a cleaner and more efficient way to do the resource.path to config.custom_types matching, so I'm asking for some help... Can anyone help me clean up this code? I am by no means a Ruby developer!

Thanks!
-S

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.

Setting content-type isn't working
1 participant