mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-02 10:24:35 -05:00
pages api done
This commit is contained in:
@@ -16,7 +16,7 @@ export default function Manga() {
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
fetch(`http://127.0.0.1:4567/api/v1/chapters/${id}/`)
|
||||
fetch(`http://127.0.0.1:4567/api/v1/manga/${id}/chapters`)
|
||||
.then((response) => response.json())
|
||||
.then((data) => setChapters(data));
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user