fix(auth): remove unnecessary 'from' parameter from auth URL
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user