Add fb.com and messenger.com to the special fb list

This commit is contained in:
ValdikSS 2022-04-13 06:33:18 +03:00
parent 6ffcdb0474
commit bdd25c9744

View File

@ -80,7 +80,8 @@ cp "$PACFILE" "$PACFILE_NOSSL"
echo " echo "
fbtw = ['twitter.com', 'twimg.com', 't.co', fbtw = ['twitter.com', 'twimg.com', 't.co',
'facebook.com', 'fbcdn.net', 'facebook.com', 'fbcdn.net',
'instagram.com', 'cdninstagram.com']; 'instagram.com', 'cdninstagram.com',
'fb.com', 'messenger.com'];
if (fbtw.indexOf(shost) !== -1) { if (fbtw.indexOf(shost) !== -1) {
return \"HTTPS ${PACFBTWHOST}; DIRECT\"; return \"HTTPS ${PACFBTWHOST}; DIRECT\";
}" >> "$PACFILE" }" >> "$PACFILE"