forget to add loop

This commit is contained in:
Boof 2023-01-18 13:54:18 +01:00 committed by GitHub
parent d67e5af23c
commit de08c2d72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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