Remove protocol for remote resources for use on https