mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
e
This commit is contained in:
parent
22efc3ad21
commit
ca33c43767
@ -41,7 +41,7 @@ const controller = new AbortController()
|
|||||||
|
|
||||||
const timeoutId = setTimeout(() => controller.abort(), 5000)
|
const timeoutId = setTimeout(() => controller.abort(), 5000)
|
||||||
|
|
||||||
fetch('https://t0m0t0w.github.io/backuprr/history.dat', { cache: "no-store", signal: controller.signal }).then(response => {
|
fetch('https://t0m0t0w.github.io/backuprr/history.dat', { cache: "no-store", signal: "controller.signal" }).then(response => {
|
||||||
// completed request before timeout fired
|
// completed request before timeout fired
|
||||||
|
|
||||||
// If you only wanted to timeout the request, not the response, add:
|
// If you only wanted to timeout the request, not the response, add:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user