Explorar o código

rename snapshot endpoint to thumbnail

Blake Blackshear %!s(int64=4) %!d(string=hai) anos
pai
achega
eb0a5e1c55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frigate/http.py

+ 1 - 1
frigate/http.py

@@ -88,7 +88,7 @@ def event(id):
     except DoesNotExist:
         return "Event not found", 404
 
-@bp.route('/events/<id>/snapshot.jpg')
+@bp.route('/events/<id>/thumbnail.jpg')
 def event_snapshot(id):
     format = request.args.get('format', 'ios')
     thumbnail_bytes = None