Skip to content

Commit

Permalink
Update IP API
Browse files Browse the repository at this point in the history
  • Loading branch information
DesertsP committed Oct 23, 2018
1 parent c42947f commit 4d794c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/Valine.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Valine.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Valine.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ const loadJS = function (url, success) {
};

const getIp = function(){
$.getJSON("https://api.ipify.org/?format=jsonp?callback=?",
$.getJSON("https://api.ipify.org/?format=json",
function(json) {
defaultComment['ip'] = json.ip;
}
Expand Down

0 comments on commit 4d794c7

Please sign in to comment.