Extend the default expiry of the signed URL (30s-15m).

This commit is contained in:
Dermot Duffy
2021-10-17 21:05:08 -07:00
parent 93d3d318be
commit 11547cb9f8
+1
View File
@@ -180,6 +180,7 @@ export class FrigateCardLiveJSMPEG extends LitElement {
const request = { const request = {
type: 'auth/sign_path', type: 'auth/sign_path',
path: `/api/frigate/${this.clientId}` + `/jsmpeg/${this.cameraName}`, path: `/api/frigate/${this.clientId}` + `/jsmpeg/${this.cameraName}`,
expires: 60 * 15,
}; };
// Sign the path so it includes an authSig parameter. // Sign the path so it includes an authSig parameter.
let response; let response;