From 11547cb9f8254f9a53dc3c1537ddd00cb7ce4841 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 17 Oct 2021 21:05:08 -0700 Subject: [PATCH] Extend the default expiry of the signed URL (30s-15m). --- src/components/live.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/live.ts b/src/components/live.ts index 2480ac06..1de542f1 100644 --- a/src/components/live.ts +++ b/src/components/live.ts @@ -180,6 +180,7 @@ export class FrigateCardLiveJSMPEG extends LitElement { const request = { type: 'auth/sign_path', path: `/api/frigate/${this.clientId}` + `/jsmpeg/${this.cameraName}`, + expires: 60 * 15, }; // Sign the path so it includes an authSig parameter. let response;