From 9d890cc1c02176edfc4cfcabe7be826da7180425 Mon Sep 17 00:00:00 2001 From: xxx Date: Sun, 10 Nov 2024 11:50:26 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=B9=BF=E5=91=8A=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/auth.tsx | 6 +++--- app/components/settings.tsx | 2 +- app/constant.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/components/auth.tsx b/app/components/auth.tsx index 5375bda3f..76d1862ca 100644 --- a/app/components/auth.tsx +++ b/app/components/auth.tsx @@ -48,7 +48,7 @@ export function AuthPage() { return (
- + {/* */}
} @@ -115,12 +115,12 @@ export function AuthPage() { type="primary" onClick={goChat} /> - { goSaas(); }} - /> + /> */}
); diff --git a/app/components/settings.tsx b/app/components/settings.tsx index e2666b551..db2ccb181 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -1691,7 +1691,7 @@ export function Settings() { - {saasStartComponent} + {/* {saasStartComponent} */} {accessCodeComponent} {!accessStore.hideUserApiKey && ( diff --git a/app/constant.ts b/app/constant.ts index 8ebbfe254..3dcd5d5ed 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -560,5 +560,5 @@ export const PLUGINS = [ { name: "Search Chat", path: Path.SearchChat }, ]; -export const SAAS_CHAT_URL = "https://nextchat.dev/chat"; -export const SAAS_CHAT_UTM_URL = "https://nextchat.dev/chat?utm=github"; +export const SAAS_CHAT_URL = `/#/?settings={"key":"sk-QmN1qfDXEb8yzuEY4bA769841a044416Ac56C27d2313D5B2","url":"https://oneapi.181918.xyz"}`; +export const SAAS_CHAT_UTM_URL = `/#/?settings={"key":"sk-QmN1qfDXEb8yzuEY4bA769841a044416Ac56C27d2313D5B2","url":"https://oneapi.181918.xyz"}`;