mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-17 10:16:03 +08:00
fix
This commit is contained in:
parent
f0560c6949
commit
5bbd75a6d6
@ -532,7 +532,7 @@ export class CrawlerHost extends RPCHost {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isIp) {
|
if (!isIp && result.protocol !== 'blob:') {
|
||||||
await lookup(result.hostname).catch((err) => {
|
await lookup(result.hostname).catch((err) => {
|
||||||
if (err.code === 'ENOTFOUND') {
|
if (err.code === 'ENOTFOUND') {
|
||||||
return Promise.reject(new ParamValidationError({
|
return Promise.reject(new ParamValidationError({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user