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

Allow for custom mime.types file in project config folder #37

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

jgarber623
Copy link
Contributor

Currently, if my project includes a file config/mime.types adjacent to config/nginx.conf.erb, the buildpack will overwrite it (see lines 16 and 17 in bin/compile).

This pull request adds a check for an existing config/mime.types file and, if present, leaves it in place. The behavior is exactly the same as the succeeding compile step for the config/nginx.conf.erb file.

Thanks for taking a look!

@beanieboi beanieboi merged commit 700a948 into heroku:master Aug 9, 2019
@beanieboi
Copy link
Member

@jgarber623 thank you so much, thats a great PR.

@jgarber623 jgarber623 deleted the allow-custom-mime-types-config branch August 9, 2019 12:05
@jgarber623
Copy link
Contributor Author

Thanks for the quick review and merge, @beanieboi!

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.

2 participants