Skip to content

Commit

Permalink
use https instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Burial0268 committed Jul 29, 2023
1 parent 1e21d4b commit f4f1fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api/Service/OvincApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class OvincApi implements GeoIpInterface
public function __construct()
{
$this->client = new Client([
'base_uri' => 'http://api.ip-city.ovinc.cn',
'base_uri' => 'https://api.ip-city.ovinc.cn',
]);
}

Expand All @@ -47,4 +47,4 @@ public function get(string $ip): ServiceResponse
->setIsp($body->isp)
->setAddress($ip);
}
}
}

0 comments on commit f4f1fe7

Please sign in to comment.