|
@@ -111,7 +111,7 @@ export const generateCollaborationLink = async () => {
|
|
return `${window.location.origin}${window.location.pathname}#room=${id},${key}`;
|
|
return `${window.location.origin}${window.location.pathname}#room=${id},${key}`;
|
|
};
|
|
};
|
|
|
|
|
|
-const getImportedKey = (key: string, usage: string) =>
|
|
|
|
|
|
+const getImportedKey = (key: string, usage: KeyUsage) =>
|
|
window.crypto.subtle.importKey(
|
|
window.crypto.subtle.importKey(
|
|
"jwk",
|
|
"jwk",
|
|
{
|
|
{
|