feat: Add support for accounts on other instances

This commit is contained in:
Jesse Wierzbinski 2025-01-29 04:39:33 +01:00
parent 18eee4d481
commit 29b4cb43ca
No known key found for this signature in database
13 changed files with 179 additions and 40 deletions

View file

@ -98,7 +98,7 @@ import {
const appData = useAppData();
const isMobile = useMediaQuery("(max-width: 768px)");
const signInAction = () => signIn(appData);
const signInAction = () => signIn(appData, new URL(useBaseUrl().value));
const signOut = async (userId?: string) => {
const id = toast.loading("Signing out...");
@ -164,4 +164,4 @@ const switchAccount = async (userId: string) => {
window.location.href = "/";
};
</script>
</script>