This commit is contained in:
kodjomoustapha
2024-01-08 16:42:17 +01:00
parent 3a8a7b5400
commit 6a1c94dfe3
8 changed files with 9 additions and 45 deletions

View File

@@ -314,18 +314,6 @@ class MangaReader extends MProvider {
}
return "/manga";
}
String getUrlWithoutDomain(String orig) {
final uri = Uri.parse(orig.replaceAll(' ', '%20'));
String out = uri.path;
if (uri.query.isNotEmpty) {
out += '?${uri.query}';
}
if (uri.fragment.isNotEmpty) {
out += '#${uri.fragment}';
}
return out;
}
}
MangaReader main() {