forked from Github/frigate
rename snapshot endpoint to thumbnail
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user