mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
change cache/download to jobs/download
This commit is contained in:
parent
6d16a766fe
commit
4d245f9fef
1 changed files with 4 additions and 2 deletions
|
|
@ -29,12 +29,14 @@ class Download {
|
|||
|
||||
async sendFileToDL(jobName, fileName) {
|
||||
window.open(
|
||||
`${location.href}/download?job_name=${jobName}&file_name=${fileName}`
|
||||
`${location.href.replace(
|
||||
"cache",
|
||||
"jobs"
|
||||
)}/download?job_name=${jobName}&file_name=${fileName}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const setModal = new FolderModal("cache");
|
||||
const setEditor = new FolderEditor();
|
||||
const setFolderNav = new FolderNav("cache");
|
||||
|
|
|
|||
Loading…
Reference in a new issue