... | ... | @@ -66,8 +66,7 @@ Notes: |
|
|
* https://developers.google.com/storage/docs/gsutil/commands/setmeta
|
|
|
* the `**` wildcard includes subdirectories, https://developers.google.com/storage/docs/gsutil/addlhelp/WildcardNames
|
|
|
* EOT and SVG `content-type` headers are detected correctly during upload.
|
|
|
* WOFF is set to the old mime type `x-font/woff`; that works but we decided to go with the future-proof
|
|
|
* file bug report at Google?
|
|
|
* WOFF is set to the old mime type `x-font/woff`; that works but we decided to go with the future-proof `font-woff`. Either change it as below or [see advice here](https://github.com/GoogleCloudPlatform/gsutil/issues/183#issuecomment-35741417).
|
|
|
* For otf:
|
|
|
|
|
|
gsutil setmeta -r -h "Content-Type:font/opentype" -h "Cache-Control:public, max-age=3600" -h "Content-Disposition" gs://mathjax-cdn/mathjax/**.otf
|
... | ... | |