Update frontend

This commit is contained in:
Paulus Schoutsen 2016-05-27 01:29:48 -07:00
parent d02bc3deaa
commit cd87c40bbf
5 changed files with 14 additions and 14 deletions

View file

@ -27,7 +27,7 @@ STATE_RECORDING = 'recording'
STATE_STREAMING = 'streaming'
STATE_IDLE = 'idle'
ENTITY_IMAGE_URL = '/api/camera_proxy/{0}'
ENTITY_IMAGE_URL = '/api/camera_proxy/{0}?token={1}'
# pylint: disable=too-many-branches
@ -65,7 +65,7 @@ class Camera(Entity):
@property
def entity_picture(self):
"""Return a link to the camera feed as entity picture."""
return ENTITY_IMAGE_URL.format(self.entity_id)
return ENTITY_IMAGE_URL.format(self.entity_id, self.access_token)
@property
def is_recording(self):

View file

@ -1,2 +1,2 @@
"""DO NOT MODIFY. Auto-generated by build_frontend script."""
VERSION = "0a226e905af198b2dabf1ce154844568"
VERSION = "45a2660086388e0ac7d61e3442c4d847"

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit 4a667eb77e28a27dc766ca6f7bbd04e3866124d9
Subproject commit 6d2dd25a4cab6ff105b42497a3c1684ee7ab138b