diff --git a/js/reader.js b/js/reader.js index 50368f1..5a8f199 100644 --- a/js/reader.js +++ b/js/reader.js @@ -205,7 +205,7 @@ function load_pages() { for (var i = 1; i <= pageNo; i++) { pageView.appendChild(Object.assign( document.createElement("img"), - {draggable: "false", src: `https://ipfs.cynic.moe/ipfs/${cid}/${i}.jpg`, id: `image${i}`, visibility: "hidden"} + {draggable: "false", src: `https://ipfs.cynic.moe/ipfs/${cid}/${i}.webp`, id: `image${i}`, visibility: "hidden"} )); } @@ -218,4 +218,4 @@ function load_pages() { document.querySelector("#titlebar #text").textContent = "Nothing to load"; } } -} \ No newline at end of file +}