Switch resources to https