Skip to content

Commit

Permalink
FIx MangaNato : fix domain regex (#6618)
Browse files Browse the repository at this point in the history
Fixes #6617

chapmanganato.to / readmanganato.to (no more .com? )
  • Loading branch information
MikeZeDev authored Dec 30, 2023
1 parent c91232e commit bd05fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/MangaNel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class MangaNel extends Connector {

canHandleURI(uri) {
// Test: https://regex101.com/r/aPR3zy/3/tests
return /^(chap|read)?manganato\.com$/.test(uri.hostname);
return /^(chap|read)?manganato\.(com|to)$/.test(uri.hostname);
}

async _getMangaFromURI(uri) {
Expand Down

0 comments on commit bd05fcd

Please sign in to comment.