Update: plugin source code files

This commit is contained in:
2026-01-06 19:25:41 +09:00
parent 786e2b5026
commit 1ad3d0767a
12 changed files with 1497 additions and 692 deletions

View File

@@ -128,14 +128,14 @@
});
const reload_list = async () => {
const { data } = await post_ajax('/list');
const { data } = await post_ajax('/basic/list');
list_tbody.innerHTML = data.map((item) => make_item(item)).join('');
};
// 전체 중지
all_stop_btn.addEventListener('click', (event) => {
event.preventDefault();
post_ajax('/all_stop').then(reload_list);
post_ajax('/basic/all_stop').then(reload_list);
});
// 중지
@@ -145,7 +145,7 @@
if (!target.classList.contains('youtubeDl-stop')) {
return;
}
post_ajax('/stop', {
post_ajax('/basic/stop', {
index: target.dataset.index,
}).then(reload_list);
});