diff --git a/backend/app/routers/rooms.py b/backend/app/routers/rooms.py index 4e98b23..05f8b39 100644 --- a/backend/app/routers/rooms.py +++ b/backend/app/routers/rooms.py @@ -89,6 +89,7 @@ from app.services.webhook_service import ( from app.services.ssrf import UnsafeUrlError from app.storage import ( ALLOWED_IMAGE_CONTENT_TYPES, + INLINE_SAFE_VIDEO_CONTENT_TYPES, UPLOADS_DIR, InvalidImageError, UploadTooLargeError, @@ -548,12 +549,25 @@ async def get_room_file_endpoint( message_file = await db.get(MessageFile, file_id) if message_file is None or message_file.room_id != room_id: raise HTTPException(status_code=404, detail="File not found") + # #65: a browser-playable video is served inline (no filename=) so a + #