Merge pull request #136 from dermotduffy/auth-expiry

Extend the default expiry of the signed JSMPEG URL
This commit is contained in:
Dermot Duffy
2021-10-17 21:15:28 -07:00
committed by GitHub
+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;