mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
forget to add loop
This commit is contained in:
parent
d67e5af23c
commit
de08c2d72f
@ -41,6 +41,7 @@ const controller = new AbortController()
|
||||
|
||||
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 => {
|
||||
// completed request before timeout fired
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user