Skip to content
Snippets Groups Projects
Verified Commit f9bcb1b5 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat: filter URLs by status code 200 in HomeController

Added a condition to the query in HomeController to filter results where the status code is 200.
parent 32473861
No related branches found
No related tags found
No related merge requests found
Pipeline #1022 passed
......@@ -31,6 +31,7 @@ public function index(): View
$query->orWhere('urls.url', 'like', "%$uri%");
}
})
->where('status_code', 200)
->get();
$now = now();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment