reset http code to 404 on page index initiation

This commit is contained in:
ghost 2023-11-27 19:44:14 +02:00
parent 015221eafb
commit 6a9117757b

View File

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