From 045d9e8731a17898505b13af3d4f2df28e10e488 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Fri, 23 Aug 2019 21:48:09 +0800 Subject: [PATCH] Update IP_API.js --- Scripts/IP_API.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/IP_API.js b/Scripts/IP_API.js index 0d8757e..9b5c641 100644 --- a/Scripts/IP_API.js +++ b/Scripts/IP_API.js @@ -4,7 +4,7 @@ if ($response.statusCode != 200) { const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺','🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖','🎃', '👺', '👁', '🐶', '🐼','🐌', '👥'] var city0 = "高谭市"; -var isp0 = "Cross-GFW.INC"; +var isp0 = "Cross-GFW.org"; function getRandomInt(max) { return Math.floor(Math.random() * Math.floor(max)); } @@ -35,5 +35,5 @@ var obj = JSON.parse(body); var title =flags.get(obj['countryCode']) + ' '+ obj['country']; var subtitle =''+City_ValidCheck(obj['city'])+'-'+'('+ ISP_ValidCheck(obj['org'])+')'+''; var ip = obj['query']; -var description = '服务商:'+obj['isp'] + '\n'+'地区:' +ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone']; +var description = '服务商:'+obj['isp'] + '\n'+'地区:' +City_ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone']; $done({title, subtitle, ip, description});