Skip to content

Commit

Permalink
Switched to ipdata.co for the geoip service
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele Toscano committed Jun 16, 2018
1 parent 19e602b commit 39b0300
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cookiebar-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function setupCookieBar() {
else {
// If the user is in EU, then STARTUP
var checkEurope = new XMLHttpRequest();
checkEurope.open('GET', '//freegeoip.net/json/', true);
checkEurope.open('GET', 'https://api.ipdata.co', true);
checkEurope.onreadystatechange = function() {
// Don't process anything else besides finished requests.
if (checkEurope.readyState !== 4) {
Expand Down
2 changes: 1 addition & 1 deletion cookiebar-latest.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cookie-bar",
"title": "cookieBAR",
"version": "1.5.33",
"version": "1.5.35",
"description": "cookieBAR is a free & easy solution to the EU cookie law.",
"main": "cookiebar-latest.min.js",
"homepage": "https://cookie-bar.eu",
Expand Down

0 comments on commit 39b0300

Please sign in to comment.