tidying up

This commit is contained in:
huangjx
2022-07-24 10:54:02 +08:00
parent 96c7128ef7
commit 3a00325042
32 changed files with 146 additions and 144 deletions

View File

@@ -42,8 +42,8 @@ const helper = {
pollingFolder(delay = 1500) {
Polling.create().setDelay(delay).run(helper.scanFolder);
},
pollingYoutube(delay = 1500) {
Polling.create().setDelay(delay).run(helper.refresh, "/apps/ncdownloader/youtube/get");
pollingYtdl(delay = 1500) {
Polling.create().setDelay(delay).run(helper.refresh, "/apps/ncdownloader/ytdl/get");
},
refresh(path) {
path = path || "/apps/ncdownloader/status/active";

File diff suppressed because one or more lines are too long

3
src/utils/ytdlOptions.js Normal file

File diff suppressed because one or more lines are too long