removed electron stuff from docker ver

This commit is contained in:
2025-12-20 00:16:01 +01:00
parent 90231f6608
commit cbacf2ea07
11 changed files with 0 additions and 39 deletions

View File

@@ -66,16 +66,6 @@ async function loadMetadata() {
document.getElementById('anime-title-details2').innerText = title;
document.title = `Watching ${title} - Ep ${currentEpisode}`;
fetch("/api/rpc", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({
details: title,
state: `Episode ${currentEpisode}`,
mode: "watching"
})
});
const tempDiv = document.createElement('div');
tempDiv.innerHTML = description;
document.getElementById('detail-description').innerText = tempDiv.textContent || tempDiv.innerText || 'No description available.';

View File

@@ -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">

View File

@@ -1,9 +0,0 @@
fetch("/api/rpc", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({
details: "Browsing",
state: `In App`,
mode: "idle"
})
});