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