From b3b4ef36b1628bf7f593916ff59e92130078e965 Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Sun, 2 Feb 2020 23:24:00 +0100 Subject: use thumbnail/poster from cdn instead of locally --- model/Room.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/Room.php') diff --git a/model/Room.php b/model/Room.php index 1fdbf7b..897bcbd 100644 --- a/model/Room.php +++ b/model/Room.php @@ -48,7 +48,7 @@ class Room } public function getThumb() { - return joinpath(['/', 'thumbs', $this->getStream().'.png']); + return proto().'://cdn.c3voc.de'.joinpath(['/thumbnail', $this->getStream(), 'thumb.jpeg']); } public function getLink() { -- cgit v1.2.3