From 1047d3875addcd23139cb585fcfd0076d9871462 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 29 Apr 2021 16:24:55 -0400 Subject: [PATCH] double lol --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index a9d8de5..e2d749d 100644 --- a/js/main.js +++ b/js/main.js @@ -37,7 +37,7 @@ function loadchapters(manga, chapters) let row = listing.insertRow(-1); let title = row.insertCell(-1); let link = document.createElement("a"); - link.setAttribute("href", window.location.hostname+"/reader.html?cid="+chapter["ipfs_link"]+"&pages="+chapter["page_count"]+"&title="+chapter["title"]); + link.setAttribute("href", "/reader.html?cid="+chapter["ipfs_link"]+"&pages="+chapter["page_count"]+"&title="+chapter["title"]); link.textContent = chapter["title"]; title.appendChild(link); let date = row.insertCell(-1);