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

feat: update URL filtering in HomeController to match URLs starting with the application URL

parent a5bd73e2
Branches
No related tags found
No related merge requests found
Pipeline #1049 passed
......@@ -32,7 +32,7 @@ public function index(): View
->distinct('logged_requests.url_id', 'logged_requests.ip_address_id')
->join('urls', 'logged_requests.url_id', '=', 'urls.id')
->join('user_agent_metadata', 'logged_requests.user_agent_id', '=', 'user_agent_metadata.user_agent_id')
->whereLike('urls.url', config('app.url'))
->whereLike('urls.url', config('app.url').'%')
->whereNotIn('urls.url', $individualExcludedRoutes)
->where('user_agent_metadata.is_bot', false)
->where('status_code', 200)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment