Skip to content

Commit

Permalink
Fix #67
Browse files Browse the repository at this point in the history
Image not loading fixed
  • Loading branch information
OshekharO authored Oct 12, 2023
1 parent e2e082a commit 996db0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repo/nhentai.to.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==MiruExtension==
// @name Nhentai
// @version v0.0.1
// @version v0.0.2
// @author OshekharO
// @lang all
// @license MIT
Expand Down Expand Up @@ -95,7 +95,7 @@ export default class extends Extension {
});

return {
urls: res[0].images.map((item) => item.replace(/t\.jpg$/, ".jpg")),
urls: res[0].images.map((item) => item.replace(/t\d\.nhentai\.net/, "cdn.dogehls.xyz").replace("t.jpg", ".jpg")),
};
}
}

0 comments on commit 996db0d

Please sign in to comment.