mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Removes one last portion of PNG vs WebP
This commit is contained in:
parent
1df517afd3
commit
222e1968d8
@ -362,9 +362,8 @@ class DocumentViewSet(
|
|||||||
handle = doc.thumbnail_file
|
handle = doc.thumbnail_file
|
||||||
# TODO: Send ETag information and use that to send new thumbnails
|
# TODO: Send ETag information and use that to send new thumbnails
|
||||||
# if available
|
# if available
|
||||||
content_type = "image/webp"
|
|
||||||
|
|
||||||
return HttpResponse(handle, content_type=content_type)
|
return HttpResponse(handle, content_type="image/webp")
|
||||||
except (FileNotFoundError, Document.DoesNotExist):
|
except (FileNotFoundError, Document.DoesNotExist):
|
||||||
raise Http404()
|
raise Http404()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user