]> git.eli173.com Git - comics/commitdiff
whoops?
authorElijah Cohen <eli@eli173.com>
Fri, 29 Jan 2021 03:08:09 +0000 (21:08 -0600)
committerElijah Cohen <eli@eli173.com>
Fri, 29 Jan 2021 03:08:09 +0000 (21:08 -0600)
comics.js

index 658c42621f59e712c0722fdacee6520e0d141daa..a029a95e5a8a86f292d3861cc1872bc36b213328 100644 (file)
--- a/comics.js
+++ b/comics.js
@@ -19,7 +19,7 @@ function getimageurl(number) {
     console.log(number)
     //fetch("https://qwantz.com/index.php?comic=" + number, {mode: "cors"})
     fetch("https://comics.eli173.com/id/" + number)
-       .then(req => return req.text())
+       .then(req => req.text())
        .then(text => {
            console.log(text)
        })