Skip to content

Commit aa4a970

Browse files
committed
Use City url as default in config
1 parent 9e93570 commit aa4a970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/geoip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'user_id' => env('GEOIP_USER_ID'),
2828
'license_key' => env('GEOIP_LICENSE_KEY'),
2929
'database_path' => storage_path('app/geoip.mmdb'),
30-
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz',
30+
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
3131
),
3232

3333
/*

tests/GeoIPUpdaterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function test_no_update()
1818

1919
public function test_max_mind_updater()
2020
{
21-
$database = __DIR__.'/data/GeoLite2-City.mmdb';
21+
$database = __DIR__ . '/data/GeoLite2-City.mmdb';
2222
$config = new Repository([
2323
'geoip' => [
2424
'service' => 'maxmind',

0 commit comments

Comments
 (0)