feat(fe2): removing prefetch of panoramic previews
This commit is contained in:
Родитель
9302d7e565
Коммит
e60e9e40ba
|
@ -19,4 +19,4 @@
|
|||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
||||
}
|
|
@ -57,9 +57,9 @@ export function usePreviewImageBlob(
|
|||
...(directPreviewUrl?.length
|
||||
? [{ rel: 'preload', as: <const>'image', href: directPreviewUrl }]
|
||||
: []),
|
||||
...(directPanoramicUrl?.length
|
||||
? [{ rel: 'prefetch', as: <const>'image', href: directPanoramicUrl }]
|
||||
: [])
|
||||
// ...(directPanoramicUrl?.length
|
||||
// ? [{ rel: 'prefetch', as: <const>'image', href: directPanoramicUrl }]
|
||||
// : [])
|
||||
]
|
||||
})
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче