Skip to content

Commit 90d5dd2

Browse files
committed
filter health check url
1 parent f12dfc1 commit 90d5dd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Http/Controllers/Controller.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class Controller extends BaseController
1616

1717
public function __construct()
1818
{
19-
Visitor::hit();
19+
if (! request()->get('health')) {
20+
Visitor::hit();
21+
}
2022
}
2123
}

0 commit comments

Comments
 (0)