Closed fl034 closed 1 year ago
I've published a beta version yarn add strapi-provider-upload-azure-storage@beta
Please let me know if you have any issues with this. If not, I will publish a full version in a few days.
@jakeFeldman thank you very much. Tested successfully with a missing defaultCacheControl
in plugin.js, then with the field present but a missing entry in the .env file. And then with a value that then appeared correctly in the response headers.
All good :)
Great to hear. I will publish a full version later today. Sorry for the delay.
I wanted to add the
cache-control
header to my uploaded files to improve caching on my clients.I used the field from the documentation here: https://learn.microsoft.com/de-de/javascript/api/@azure/storage-blob/blobhttpheaders?view=azure-node-latest#@azure-storage-blob-blobhttpheaders-blobcachecontrol
Since I'm new to TypeScript, please check my PR thoroughly 😄