diff --git a/index.js b/index.js index 5c2e323..085e017 100644 --- a/index.js +++ b/index.js @@ -165,15 +165,17 @@ var src_default = { } }); - //Print HTML if request is to ip.ajam.dev/html - } else if (pathname === "/html") { - const htmlStr = jsonToHtml(filteredJson); + //Print html if request is to ip.ajam.dev/html + } else if (pathname === "/html") { + let htmlStr = jsonToHtml(filteredJson); console.log(htmlStr); + const endpointsRow = `