Previously, course images on the student dashboard were always served from the localhost, even if the CDN was enabled.