chore: update download domain

This commit is contained in:
Tristan Yang
2022-11-01 22:52:20 +08:00
parent a1caf25b25
commit 6f30ae244a
+1 -1
View File
@@ -34,7 +34,7 @@ export default function SignInLink({ token }: { token?: string }) {
const isMobile = "ontouchstart" in document.documentElement; const isMobile = "ontouchstart" in document.documentElement;
// 直接跳转 // 直接跳转
if (isMobile && !!token) { if (isMobile && !!token) {
location.href = `https://voce.chat/download?link=${encodeURIComponent(`${location.origin}?magic_token=${token}`)}`; location.href = `https://join.voce.chat/download?link=${encodeURIComponent(`${location.origin}?magic_token=${token}`)}`;
} }
}, [token]); }, [token]);