diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 2298b51c..c98f0fd0 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -22,7 +22,7 @@ const sha384 = modules.hash; function getJson(str) { try { - return getJson(str); + return JSON.parse(str); } catch { return null; }