From 0f1c9cb9aa135d6769e3065e84ece50f6f7841d5 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 12 Mar 2023 06:39:49 +0000 Subject: [PATCH] remove ip api --- src/libpoketube/init/pages-video.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 540fe0b9..e47108d8 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -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) => { try { const k = data.video; @@ -269,7 +267,6 @@ module.exports = function (app, config, renderTemplate) { r, qua: q, inv: inv_comments, - ip, convert, universe, wiki: data.wiki,