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 86866ee commit 8d92396Copy full SHA for 8d92396
src/Drivers/IpStackDriver.php
@@ -74,12 +74,6 @@ public function getRaw($ip)
74
*/
75
protected function getUrl($ip)
76
{
77
- $protocol = 'https';
78
-
79
- if (!empty(array_get($this->config, 'http'))) {
80
- $protocol = 'http';
81
- }
82
83
- return $protocol.'://api.ipstack.com/'.$ip.'?access_key='.array_get($this->config, 'key');
+ return 'https://api.ipstack.com/'.$ip.'?access_key='.array_get($this->config, 'key');
84
}
85
src/config/config.php
@@ -33,7 +33,6 @@
33
|
34
35
'key' => env('GEOIP_IPSTACK_KEY'),
36
- 'http' => env('GEOIP_IPSTACK_HTTP', false),
37
],
38
39
/*
0 commit comments