removed electron stuff from docker ver
This commit is contained in:
@@ -145,18 +145,6 @@ async function loadChapter() {
|
||||
|
||||
setupProgressTracking(data, source);
|
||||
|
||||
const res2 = await fetch(`/api/book/${bookId}?source=${source}`);
|
||||
const data2 = await res2.json();
|
||||
|
||||
fetch("/api/rpc", {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json"},
|
||||
body: JSON.stringify({
|
||||
details: data2.title.romaji ?? data2.title,
|
||||
state: `Chapter ${data.title}`,
|
||||
mode: "reading"
|
||||
})
|
||||
});
|
||||
if (data.error) {
|
||||
reader.innerHTML = `
|
||||
<div class="loading-container">
|
||||
|
||||
Reference in New Issue
Block a user