mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-09 11:21:33 +01:00
Appease the linter
This commit is contained in:
parent
764654fffb
commit
5eebd54baf
@ -108,7 +108,9 @@ async function tryUpdateServerSupportMap(clientApiUrl: string, accessToken?: str
|
|||||||
supportsAuthedMedia: Boolean(versions?.versions?.includes("v1.11")),
|
supportsAuthedMedia: Boolean(versions?.versions?.includes("v1.11")),
|
||||||
cacheExpiryTimeMs: new Date().getTime() + 2 * 60 * 60 * 1000, // 2 hours from now
|
cacheExpiryTimeMs: new Date().getTime() + 2 * 60 * 60 * 1000, // 2 hours from now
|
||||||
};
|
};
|
||||||
console.log(`[ServiceWorker] serverSupportMap update for '${clientApiUrl}': ${JSON.stringify(serverSupportMap[clientApiUrl])}`);
|
console.log(
|
||||||
|
`[ServiceWorker] serverSupportMap update for '${clientApiUrl}': ${JSON.stringify(serverSupportMap[clientApiUrl])}`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ideally we'd use the `Client` interface for `client`, but since it's not available (see 'fetch' listener), we use
|
// Ideally we'd use the `Client` interface for `client`, but since it's not available (see 'fetch' listener), we use
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user