浏览代码

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