Using unprint for profile test URL probing.
This commit is contained in:
@@ -272,7 +272,7 @@ async function validateUrl(url, mime = 'image/') {
|
||||
return false;
|
||||
}
|
||||
|
||||
const res = await fetch(href, {
|
||||
const res = await unprint.get(href, {
|
||||
headers: {
|
||||
Referer: url.referer || new URL(href).origin,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user