From e7d39bea0f52163c765c5af44a099da2a423e9f1 Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Sat, 14 Nov 2020 18:36:00 +0100 Subject: [PATCH] use new api endpoint for device screen --- app/src/components/ScreenCard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/components/ScreenCard.vue b/app/src/components/ScreenCard.vue index 2601e66..ea17870 100644 --- a/app/src/components/ScreenCard.vue +++ b/app/src/components/ScreenCard.vue @@ -70,13 +70,13 @@ playlistRemaining (val) { if (val > 0) { this.playlistRemainingCountdown = val - this.device_screen_src = '/current-image3?' + Date.now() + this.device_screen_src = '/api/device/screen?' + Date.now() } }, }, created () { this.playlistRemainingCountdown = this.playlistRemaining - this.device_screen_src = '/current-image3?' + Date.now() + this.device_screen_src = '/api/device/screen?' + Date.now() setInterval(() => { if (this.playlistRemainingCountdown > 0) {