Skip to content

Commit b3bc9c9

Browse files
committed
Update database URL
1 parent 9577c9d commit b3bc9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/geoip.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
'maxmind_database' => [
5555
'class' => \Torann\GeoIP\Services\MaxMindDatabase::class,
5656
'database_path' => storage_path('app/geoip.mmdb'),
57-
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
57+
'update_url' => sprintf('https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz', env('MAXMIND_LICENSE_KEY')),
5858
'locales' => ['en'],
5959
],
6060

@@ -72,7 +72,7 @@
7272
'continent_path' => storage_path('app/continents.json'),
7373
'lang' => 'en',
7474
],
75-
75+
7676
'ipgeolocation' => [
7777
'class' => \Torann\GeoIP\Services\IPGeoLocation::class,
7878
'secure' => true,

0 commit comments

Comments
 (0)