aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
authorAnton Schubert2020-02-02 23:24:00 +0100
committerAnton Schubert2020-02-02 23:24:00 +0100
commitb3b4ef36b1628bf7f593916ff59e92130078e965 (patch)
treea550127b20558eb52019d6604805f6682ee8fecb /model/Room.php
parent0fd3d2f7a238de2a33d3e8ff6862c2482e8b97dd (diff)
use thumbnail/poster from cdn instead of locally
Diffstat (limited to 'model/Room.php')
-rw-r--r--model/Room.php2
1 files changed, 1 insertions, 1 deletions
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() {