Extend the default expiry of the signed URL (30s-15m).
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user