umbraco / Umbraco.StorageProviders

MIT License
29 stars 21 forks source link

Do not add container name to CDN URL #24

Closed ronaldbarendse closed 3 years ago

ronaldbarendse commented 3 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.