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

Added a mime type for html files. #545

Merged
merged 4 commits into from
Jul 14, 2017
Merged

Added a mime type for html files. #545

merged 4 commits into from
Jul 14, 2017

Conversation

JuniorDev4Lyf
Copy link
Contributor

I have added a mime type for html files as text/html.

If this is not defined at oc level and you are trying to serve the files over a front facing ngnix server (on top of oc) in a cloud environment - it would ultimately pick up the default mime type defined in ngnix which is application/octet-stream.

Let me know if you see any concerns here with the commit.

@matteofigus
Copy link
Member

Fixes #540

@matteofigus matteofigus merged commit fa56ebe into opencomponents:master Jul 14, 2017
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