mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Update frigate/http.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
parent
d20df255db
commit
34336cfbbf
@ -834,7 +834,7 @@ def label_thumbnail(camera_name, label):
|
||||
response.headers["Cache-Control"] = "no-store"
|
||||
return response
|
||||
|
||||
@bp.route("/<camera_name>/<label>/last_clip.mp4")
|
||||
@bp.route("/<camera_name>/<label>/clip.mp4")
|
||||
def label_clip(camera_name, label):
|
||||
label = unquote(label)
|
||||
event_query = Event.select(fn.MAX(Event.id)).where(Event.camera == camera_name, Event.has_clip == True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user