facebook: do not request the source url & clean up
fixed a vulnerability, removed useless variables, and cleaned up thankfully we haven't built the image yesterday
This commit is contained in:
@@ -203,8 +203,7 @@ export default async function(host, patternMatch, lang, obj) {
|
||||
break;
|
||||
case "facebook":
|
||||
r = await facebook({
|
||||
...patternMatch,
|
||||
sourceUrl: url.href
|
||||
...patternMatch
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user