diff --git a/src/lib/components/TitleImgParallax.svelte b/src/lib/components/TitleImgParallax.svelte index 29b4279..f7400e5 100644 --- a/src/lib/components/TitleImgParallax.svelte +++ b/src/lib/components/TitleImgParallax.svelte @@ -11,9 +11,7 @@ } fetch(src, { method: 'HEAD' }) .then(response => { - if(response.redirected){ - isredirected = true - } + isredirected = response.redirected }) })