mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
e
This commit is contained in:
parent
ca33c43767
commit
b12dfa058f
@ -41,7 +41,7 @@ const controller = new AbortController()
|
||||
|
||||
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
|
||||
|
||||
// If you only wanted to timeout the request, not the response, add:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user