Update IPCustom.js

This commit is contained in:
Shawn
2019-07-07 12:32:57 +08:00
committed by GitHub
parent 527b5d77b5
commit 960ff2f0cb

View File

@@ -18,7 +18,7 @@ const emojis= ['🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖',
var body = $response.body;
var obj = JSON.parse(body);
var title = foods[getRandomInt(foods.length)]+' ' +obj['country'] + ' ' + emojis[getRandomInt(emojis.length)];
var title = emojis[getRandomInt(emojis.length)]+' ' +obj['country'] + ' ' + foods[getRandomInt(foods.length)];
var subtitle = obj['city'] + ' ' + obj['isp'];
var ip = obj['query'];
var description = obj['country'] + '\n' + obj['city'] + '\n' + obj['isp'] + '\n' + obj['ipType']+ '\n' + ip;