From 8ed3b4531e2b66c0daafde35c1ff2ce70864a223 Mon Sep 17 00:00:00 2001
From: Elijah Cohen <eli@eli173.com>
Date: Thu, 28 Jan 2021 21:14:30 -0600
Subject: [PATCH] done?

---
 comics.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/comics.js b/comics.js
index 9aa6340..22800e9 100644
--- a/comics.js
+++ b/comics.js
@@ -6,7 +6,7 @@ function onload() {
     //imgtag.src = "https://qwantz.com/comics/comic2-3900.png"
     
     
-    drawcomic("https://qwantz.com/comics/comic2-675.png")
+    //drawcomic("https://qwantz.com/comics/comic2-675.png")
 
 
     num = window.location.search.substring(window.location.search.indexOf('=')+1)
@@ -17,12 +17,13 @@ function getimageurl(number) {
     number = (number == "") ? 0 : number
     // takes the comic no (from the ?comic=<>) and gets the url we want
     // returns a promise?
-    console.log(number)
+    //console.log(number)
     //fetch("https://qwantz.com/index.php?comic=" + number, {mode: "cors"})
     fetch("https://comics.eli173.com/id/" + number)
 	.then(req => req.text())
 	.then(text => {
-	    console.log(text)
+	    //console.log(text)
+	    drawcomic("https://qwantz.com/" + text)
 	})
 }
 
-- 
2.39.5