diff --git a/static/js/components/resourceIcon.js b/static/js/components/resourceIcon.js index 6f50d790..45e2034c 100644 --- a/static/js/components/resourceIcon.js +++ b/static/js/components/resourceIcon.js @@ -45,7 +45,7 @@ function buildResourceIcon(item, resourceType) { const img = document.createElement('img'); img.className = 'file-thumb'; - img.src = `/api/files/${file.id}/thumbnail/icon`; + img.src = `/api/files/${file.id}/thumbnail/preview`; img.loading = 'lazy'; img.alt = ''; img.addEventListener('error', () => {