MelleD
MelleD

Reputation: 791

Change content type for static storage

i created a static web app with the a azure storage (see https://azure.microsoft.com/de-de/blog/azure-storage-static-web-hosting-public-preview/). I uploaded some files without a extension. How can i change the content-type or mime-type for this files?

Thanks

EDIT: I found a solution. You can change over the REST API not via UI: https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties

Upvotes: 1

Views: 351

Answers (1)

Martin Brandl
Martin Brandl

Reputation: 58921

You can change the content-type using the free Storage Explorer. Just right click on your blob, select properties and change the desired property:

enter image description here

Upvotes: 2

Related Questions