Skip to content

Commit

Permalink
fix: use leading slash in path
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Jun 12, 2024
1 parent fc3ebfa commit c792583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$api = new Api();

if (option('mauricerenck.dark-visitors.analytics', false)) {
$requestPath = $request->path()->toString();
$requestPath = $request->path()->toString(true);
$requestMethod = $request->method();
$requestHeaders = $request->headers();

Expand Down

0 comments on commit c792583

Please sign in to comment.