Skip to content

Commit

Permalink
fix: remove SERVER_ADDR
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Nasinnyk <anasinnyk@macpaw.com>
  • Loading branch information
anasinnyk committed Jun 22, 2020
1 parent c9ca283 commit e0e1b4b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/GkeFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public function format(array $record): string
'referer' => $request->getHeader('Referer'),
'userAgent' => $request->getHeader('User-Agent'),
'remoteIp' => $request->getHeader('X-Forwarded-For'),
'serverIp' => $_SERVER['SERVER_ADDR'],
],
]
)
Expand Down

0 comments on commit e0e1b4b

Please sign in to comment.