-
Notifications
You must be signed in to change notification settings - Fork 325
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
Missing mime type for otf files (opentype fonts) ? #352
Comments
I don't see otf in the default https://github.com/nginx/nginx/blob/master/conf/mime.types |
@ryanmoran @johnnyr0x thoughts? |
I'm closing this issue under the premise that this is a usecase for nginx buildpack and not staticfile buildpack. |
@arnaudruffin we would happily accept a PR. You can find the mimetypes list here:
|
@arnaudruffin I believe that this was resolved with #358. Is that correct? |
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?CF :
CF-CLI: 8.2.0+fd8fbca64.2022-02-09
What version of the buildpack you are using?
staticfile_buildpack_v1_5_36
If you were attempting to accomplish a task, what was it you were attempting to do?
I expose some otf assets
What did you expect to happen?
I would expect them to be exposed with "Content-Type: font/otf" (and with Content-Encoding: gzip)
What was the actual behavior?
The files are served, but with Content-Type: application/octet-stream
I am under the impression that the configuration is missing from mime.types.
I saw the following issue + PR #87 that added the configuration for the other types of font, but not for otf files.
I wanted to check and push a pull request but I can't make out how the mime.types file is generated/retrieved.
The text was updated successfully, but these errors were encountered: