Skip to content

Commit adfc443

Browse files
committed
No longer send hostname
1 parent ded8e10 commit adfc443

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.2.1] - 2022-06-16
4+
5+
### Removed
6+
7+
- Hostname.
8+
39
## [0.2.0] - 2022-06-14
410

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

2935
- TrackPageview middleware.
3036

37+
[0.2.1]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.2.1
3138
[0.2.0]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.2.0
3239
[0.1.2]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.1.2
3340
[0.1.1]: https://github.com/pirsch-analytics/laravel-pirsch/releases/tag/0.1.1

src/Http/Middleware/TrackPageview.php

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public function terminate(Request $request, mixed $response): void
2121

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

0 commit comments

Comments
 (0)