Skip to content

Commit

Permalink
fix(xoxocomics): update url (#735)
Browse files Browse the repository at this point in the history
* Update source.json

updated from .com to .net

* Update lib.rs

changed .com to .net

* updated version #

* Update source.json

* Update lib.rs
  • Loading branch information
yamaijia7 authored Aug 18, 2024
1 parent 51649e8 commit 25356cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/rust/wpcomics/sources/xoxocomics/res/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"id": "en.xoxocomics",
"lang": "en",
"name": "XOXO Comics",
"version": 1,
"url": "https://xoxocomics.com/",
"version": 2,
"url": "https://xoxocomic.com/",
"nsfw": 1
},
"listings": [
Expand Down
4 changes: 2 additions & 2 deletions src/rust/wpcomics/sources/xoxocomics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use wpcomics_template::{

fn get_instance() -> WPComicsSource {
WPComicsSource {
base_url: String::from("https://xoxocomics.com"),
base_url: String::from("https://xoxocomic.com"),
listing_mapping: listing_map,

manga_details_title_transformer: trunc_trailing_comic,
Expand Down Expand Up @@ -43,7 +43,7 @@ fn get_manga_list(filters: Vec<Filter>, page: i32) -> Result<MangaPageResult> {
}
}
get_instance().get_manga_list(get_search_url(
String::from("https://xoxocomics.com"),
String::from("https://xoxocomic.com"),
title,
genre,
page,
Expand Down

0 comments on commit 25356cd

Please sign in to comment.