Virtual whiteboard for sketching hand-drawn like diagrams
fixed generateCollaborationLink() (#1081)
Marcel Kloubert12d7550958a3
diff --git a/src/data/index.ts b/src/data/index.tsindex 69ffed243b..3284dcd110 100644--- a/src/data/index.ts+++ b/src/data/index.ts@@ -96,7 +96,7 @@ export function getCollaborationLinkData(link: string) {export async function generateCollaborationLink() {const id = await generateRandomID();const key = await generateEncryptionKey();- return `${window.location.origin}#room=${id},${key}`;+ return `${window.location.origin}${window.location.pathname}#room=${id},${key}`;}async function getImportedKey(key: string, usage: string): Promise<CryptoKey> {