We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b038b7 commit 0215fd9Copy full SHA for 0215fd9
app/Jobs/CheckIfIpIsVpn.php
@@ -46,7 +46,7 @@ public function handle(): void
46
47
$isVpn = Http::retry(10)
48
->throw()
49
- ->get('https://vpnapi.io/api/' . request()->ip() . '?key=' . config('services.vpn_api.token'))
+ ->get('https://vpnapi.io/api/' . $this->ip . '?key=' . config('services.vpn_api.token'))
50
->json('security.vpn');
51
52
if (blank($isVpn)) {
0 commit comments