simplify boolean assignemnt

This commit is contained in:
Alexander Bocken 2024-02-19 23:22:29 +01:00
parent db391bc383
commit 4fdfacd7be
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -11,9 +11,7 @@
}
fetch(src, { method: 'HEAD' })
.then(response => {
if(response.redirected){
isredirected = true
}
isredirected = response.redirected
})
})