소스 검색

rename snapshot endpoint to thumbnail

Blake Blackshear 4 년 전
부모
커밋
eb0a5e1c55
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frigate/http.py

+ 1 - 1
frigate/http.py

@@ -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