Skip to content

Commit a845e2c

Browse files
authored
Update PreprServiceProvider.php to use the correct API header
1 parent 6c21619 commit a845e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PreprServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function boot()
2121
}
2222

2323
if (\Request()->hasHeader('x-real-ip')) {
24-
data_set($headers, 'Prepr-Client-IP', \Request()->header('x-real-ip'));
24+
data_set($headers, 'Prepr-Visitor-IP', \Request()->header('x-real-ip'));
2525
}
2626

2727
$json = [
@@ -55,4 +55,4 @@ public function register()
5555
{
5656

5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)