forked from Github/frigate
Improve review mqtt topic (#11072)
* Don't request preview for current hour and fix content type * Send before / after on messages * Send before / after for end * Handle specific cases * remove log * Fix update type
This commit is contained in:
@@ -1351,6 +1351,6 @@ def preview_thumbnail(file_name: str):
|
||||
)
|
||||
|
||||
response = make_response(jpg_bytes)
|
||||
response.headers["Content-Type"] = "image/jpeg"
|
||||
response.headers["Content-Type"] = "image/webp"
|
||||
response.headers["Cache-Control"] = "private, max-age=31536000"
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user