Merge pull request #4051 from RSSNext/hotfix/ssr-deeplink

This commit is contained in:
Stephen Zhou 2025-07-01 15:03:42 +08:00 committed by GitHub
commit 8982e1b486
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import {
import { Input } from "@follow/components/ui/input/index.js"
import { LoadingCircle } from "@follow/components/ui/loading/index.jsx"
import { useIsDark } from "@follow/hooks"
import { DEEPLINK_SCHEME } from "@follow/shared/constants"
import { env } from "@follow/shared/env.ssr"
import { cn } from "@follow/utils/utils"
import HCaptcha from "@hcaptcha/react-hcaptcha"
@ -57,7 +56,7 @@ export function Login() {
const { data } = await oneTimeToken.generate()
if (!data) return null
return {
url: `${DEEPLINK_SCHEME}auth?token=${data.token}`,
url: `auth?token=${data.token}`,
}
}, [])