fix(auth): remove unnecessary 'from' parameter from auth URL

This commit is contained in:
HybridTalentComputing committed 2026-06-16 22:04:59 +08:00
1 parent f758dadfa0
commit dce8946498
1 file changed
-1
@@ -6,7 +6,6 @@ import { Controller } from ".."
export async function shengSuanYunLoginClicked(_: Controller, __: EmptyRequest): Promise<Empty> {
const callbackUrl = await HostProvider.get().getCallbackUrl("/ssy")
const authUrl = new URL("https://router.shengsuanyun.com/auth")
authUrl.searchParams.set("from", "cline-chinese")
authUrl.searchParams.set("callback_url", callbackUrl)
await openExternal(authUrl.toString())