Skip to content

Commit

Permalink
fix: update URL for downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarner committed Mar 16, 2024
1 parent f6de6c7 commit ae716ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (!licenseKey) {
}

const link = (edition) =>
`https://download.maxmind.com/app/geoip_download?edition_id=${edition}&license_key=${licenseKey}&suffix=tar.gz`;
`https://download.maxmind.com/geoip/databases/${edition}/download?suffix=tar.gz`;

const selected = getSelectedDbs();
const editionIds = ['City', 'Country', 'ASN']
Expand Down

0 comments on commit ae716ec

Please sign in to comment.