Skip to content

Commit

Permalink
No longer send hostname
Browse files Browse the repository at this point in the history
zepfietje committed Jun 16, 2022
1 parent ded8e10 commit adfc443
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.2.1] - 2022-06-16

### Removed

- Hostname.

## [0.2.0] - 2022-06-14

### Removed
@@ -28,6 +34,7 @@

- TrackPageview middleware.

[0.2.1]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.2.1
[0.2.0]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.2.0
[0.1.2]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.1.2
[0.1.1]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.1.1
1 change: 0 additions & 1 deletion src/Http/Middleware/TrackPageview.php
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@ public function terminate(Request $request, mixed $response): void

Http::withToken(config('pirsch.token'))
->post('https://api.pirsch.io/api/v1/hit', [
'hostname' => $request->getHost(),
'url' => $request->fullUrl(),
'ip' => $request->ip(),
'cf_connecting_ip' => $request->headers->get('CF-Connecting-IP'),

0 comments on commit adfc443

Please sign in to comment.