mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
add href to appease typescript
This commit is contained in:
1 parent
8276e516a4
commit
5dbdd4ab79
3 files changed
+3
-3
No files matched your search
@@ -17,7 +17,7 @@
|
||||
const secret = $page.url.searchParams.get('secret');
|
||||
|
||||
await account.updateMagicURLSession(userId, secret);
|
||||
window.location = `appwrite-callback-${projectId}://${$page.url.search}`;
|
||||
window.location.href = `appwrite-callback-${projectId}://${$page.url.search}`;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
if (!project) {
|
||||
reject('no-project');
|
||||
}
|
||||
window.location = link;
|
||||
window.location.href = link;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
if (!project) {
|
||||
reject('no-project');
|
||||
}
|
||||
window.location = link;
|
||||
window.location.href = link;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user