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

html contentType missing #25

@pabrams

Description

@pabrams

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions