Skip to content

Commit

Permalink
Fixed IP via Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanialhenniges committed Dec 4, 2024
1 parent f30e4c6 commit a1eb5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function send_event( $request ) {
[
'user-agent' => $ua,
'headers' => [
'X-Forwarded-For' => $ip,
'X-Plausible-IP' => $ip,
'Content-Type' => 'application/json',
],
'body' => wp_kses_no_null( $params ),
Expand Down

0 comments on commit a1eb5b9

Please sign in to comment.