Change output file

This commit is contained in:
Nicolas Mowen 2024-02-10 07:06:16 -07:00
parent d75b21311e
commit 95be693b8a

View File

@ -593,7 +593,7 @@ def event_thumbnail(id, max_cache_age=2592000):
return response
@bp.route("/events/<id>/preview.mp4")
@bp.route("/events/<id>/preview.gif")
def event_preview(id: str, max_cache_age=2592000):
try:
event = Event.get(Event.id == id)