Explorar el Código

rename snapshot endpoint to thumbnail

Blake Blackshear hace 4 años
padre
commit
eb0a5e1c55
Se han modificado 1 ficheros con 1 adiciones y 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