I don't really know what I'm talking about with this but I don't have enough to comment; anyways mine looks like this:
{
protocol: "https",
hostname: "*.githubusercontent.com",
port: "",
pathname: "**",
},
{
protocol: "https",
hostname: "*.googleusercontent.com",
port: "",
pathname: "**",
}
maybe the 'port' option matters?