mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
rename snapshot endpoint to thumbnail
This commit is contained in:
parent
47ac77dbb0
commit
eb0a5e1c55
@ -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