Fixed issue where URLs for static content were created with HTTPS