You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have an 302 error when updating the database using node ./node_modules/geoip-lite/scripts/updatedb.js license_key=MY_LICENSE_KEY
A check on the browser's network showed that there was a redirection from https://download.maxmind.com/app/geoip_download... to Maxmind R2 presigned URLs mm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com
I think there is a need to add a redirection code for the HTTP request if ([301, 302, 303, 307, 308].includes(status)) { var newLocation = response.headers['location']; console.log('Redirecting to', newLocation); client = https.get(newLocation, onResponse); return;}
The text was updated successfully, but these errors were encountered:
Hello,
I have an 302 error when updating the database using
node ./node_modules/geoip-lite/scripts/updatedb.js license_key=MY_LICENSE_KEY
A check on the browser's network showed that there was a redirection from
https://download.maxmind.com/app/geoip_download...
to Maxmind R2 presigned URLsmm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com
I think there is a need to add a redirection code for the HTTP request
if ([301, 302, 303, 307, 308].includes(status)) { var newLocation = response.headers['location']; console.log('Redirecting to', newLocation); client = https.get(newLocation, onResponse); return;}
The text was updated successfully, but these errors were encountered: