mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 02:17:47 +01:00
remove ip api
This commit is contained in:
parent
98ea940a5f
commit
0f1c9cb9aa
1 changed files with 1 additions and 4 deletions
|
@ -206,9 +206,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const response = await modules.fetch("http://ip-api.com/json/");
|
|
||||||
const ip = await response.json();
|
|
||||||
|
|
||||||
core.video(v).then((data) => {
|
core.video(v).then((data) => {
|
||||||
try {
|
try {
|
||||||
const k = data.video;
|
const k = data.video;
|
||||||
|
@ -269,7 +267,6 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
r,
|
r,
|
||||||
qua: q,
|
qua: q,
|
||||||
inv: inv_comments,
|
inv: inv_comments,
|
||||||
ip,
|
|
||||||
convert,
|
convert,
|
||||||
universe,
|
universe,
|
||||||
wiki: data.wiki,
|
wiki: data.wiki,
|
||||||
|
|
Loading…
Reference in a new issue