mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-01 04:12:03 +08:00
fix
This commit is contained in:
parent
ff7612414c
commit
b9ad4facf5
@ -487,7 +487,10 @@ class PageReqCtrlKit {
|
|||||||
deferred?.resolve();
|
deferred?.resolve();
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
this.lastResourceLoadedAt = now;
|
this.lastResourceLoadedAt = now;
|
||||||
const typ = req.resourceType();
|
const typ = req?.resourceType();
|
||||||
|
if (!typ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (documentResourceTypes.has(typ)) {
|
if (documentResourceTypes.has(typ)) {
|
||||||
this.lastContentResourceLoadedAt = now;
|
this.lastContentResourceLoadedAt = now;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user