Skip to content

Commit

Permalink
remove dummy ip
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiDy committed Oct 6, 2024
1 parent a5fff49 commit 8745735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Watchers/RequestWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function recordRequest(RequestHandled $event)

$startTime = defined('LARAVEL_START') ? LARAVEL_START : $event->request->server('REQUEST_TIME_FLOAT');

// $ip = $event->request->ip();
$ip = '216.57.45.241';
$ip = $event->request->ip();
// $ip = '216.57.45.241';

$visitor_ip = VisitorIpModel::where('ip_address', $ip)->first();
if (!$visitor_ip) {
Expand Down

0 comments on commit 8745735

Please sign in to comment.