Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2020-10-06 21:18:26 +0300
committerGitHub <noreply@github.com>2020-10-06 21:18:26 +0300
commit8d55dabee2dabf0fe103ede0952fe74d0a748ed8 (patch)
tree07fc13dc2d37b80d9b773b7d9804fc0561b61e77 /config
parentf9622d733b554154a39e9a716c5c134da35acba7 (diff)
Fix missing Maxmind license key issue (#566)
* Add option to add maxmind license key in setup * Update symfony/http-foundation to patch security vulnerability * Remove echo statement * fix typo
Diffstat (limited to 'config')
-rw-r--r--config/geoip.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/geoip.php b/config/geoip.php
index 8225f0a..49d52a4 100644
--- a/config/geoip.php
+++ b/config/geoip.php
@@ -54,7 +54,7 @@ return [
'maxmind_database' => [
'class' => \Torann\GeoIP\Services\MaxMindDatabase::class,
'database_path' => storage_path('app/geoip.mmdb'),
- 'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
+ 'update_url' => sprintf('https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz', env('MAXMIND_LICENSE_KEY')),
'locales' => ['en'],
],