umbraco / Umbraco.StorageProviders

MIT License
30 stars 22 forks source link

Do not add container name to CDN URL #24

Closed ronaldbarendse closed 2 years ago

ronaldbarendse commented 2 years ago

The AddCdnMediaUrlProvider() extension method added the Azure Blob Storage container name to the CDN URL, which could only be overwritten when using the configure callback.

Because it doesn't make sense to expose the container name in the URL, this PR removes the offending code. You can always manually add the container name back to the CDN URL, so I think this isn't a real breaking change and can be released as a new minor version.