mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
rename snapshot endpoint to thumbnail
This commit is contained in:
parent
21ece238ff
commit
49b29d72a7
@ -88,7 +88,7 @@ def event(id):
|
|||||||
except DoesNotExist:
|
except DoesNotExist:
|
||||||
return "Event not found", 404
|
return "Event not found", 404
|
||||||
|
|
||||||
@bp.route('/events/<id>/snapshot.jpg')
|
@bp.route('/events/<id>/thumbnail.jpg')
|
||||||
def event_snapshot(id):
|
def event_snapshot(id):
|
||||||
format = request.args.get('format', 'ios')
|
format = request.args.get('format', 'ios')
|
||||||
thumbnail_bytes = None
|
thumbnail_bytes = None
|
||||||
|
Loading…
Reference in New Issue
Block a user