Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

html contentType missing #25

Open
pabrams opened this issue May 15, 2019 · 1 comment
Open

html contentType missing #25

pabrams opened this issue May 15, 2019 · 1 comment

Comments

@pabrams
Copy link

pabrams commented May 15, 2019

Replying to #12 ,
The missing content types are for html files. They are always missing when I download MS extensions from the marketplace, or github. I deploy them to an on-prem TFS (2017U3) using Tfx-Cli, and if I don't add "contentType": "text/html" entries to the files object in vss-extension.json for all served .html files, all my browsers just download, or offer to download, html files instead of displaying them. I'm guessing later versions of TFS/ADO correctly infer the contentType from the file itself, and you don't deploy to the versions that don't (like 2017U3). Either that, or your deployment is adding the missing content types, at some point, to the manifest (but not committing those changes). Or I guess it's possible our app tier's web server is not configured properly.

@pabrams
Copy link
Author

pabrams commented Jul 15, 2019

Can probably be closed once this is merged/released
microsoft/tfs-cli#324

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant