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