use new api endpoint for device screen

pull/1/head
Thomas Ballmann 4 years ago
parent d306d09180
commit e7d39bea0f

@ -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) {

Loading…
Cancel
Save