Browse Source

reset http code to 404 on page index initiation

main
ghost 1 year ago
parent
commit
6a9117757b
  1. 3
      src/cli/document/crawl.php

3
src/cli/document/crawl.php

@ -73,7 +73,8 @@ foreach($search->get() as $document)
// Update index time // Update index time
$index->updateDocument( $index->updateDocument(
[ [
'time' => time() 'time' => time(),
'code' => 404
], ],
$document->getId() $document->getId()
); );

Loading…
Cancel
Save