diff --git a/downloader.ts b/downloader.ts index 811bfd3..f24cd59 100644 --- a/downloader.ts +++ b/downloader.ts @@ -72,7 +72,7 @@ export class Downloader { if(result) console.log(this.pool.id, "| sending:", Math.round(result.length/1024), "kB"); } }; - let interval = setInterval(wait_for_result, 100); + let interval = setInterval(wait_for_result, 2000); wait_for_result(); }); return promise; diff --git a/public/index.html b/public/index.html index 36b4eeb..0194684 100644 --- a/public/index.html +++ b/public/index.html @@ -42,7 +42,7 @@ try { let info = await api(`/status/${id}`); result.style.display = "flex"; - result.innerHTML = `
${new_url}
Stáhnout${new_url}
Stáhnout