CrumpledDog / Umbraco-AzureCDNToolkit

Makes it easy to fully utilise the Azure CDN with a Umbraco website
13 stars 14 forks source link

Added null check for crops that do not exist. #14

Closed dconlisk closed 6 years ago

dconlisk commented 6 years ago

On a couple of client sites, enabling the Azure CDN Toolkit in the web.config resulted in the site not loading at all and eventually timing out. On closer inspection this was due to the use of non-existent crop names in the views on the sites. Adding a null check as per this pull request fixed the issue and meant that the sites loaded correctly.

Jeavon commented 6 years ago

Makes sense, thanks!