From 94ab2d8e94f26cff827f493e57bfd57bf55ccacd Mon Sep 17 00:00:00 2001 From: Joxp Date: Tue, 22 Oct 2024 22:34:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9SaaS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/constant.ts | 4 ++-- app/locales/cn.ts | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index a06b8f05062..36d12681331 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -501,5 +501,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 = "https://bot.howlike.cn/"; +export const SAAS_CHAT_UTM_URL = "https://bot.howlike.cn/"; diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 69b8c62adbd..d534f5420bb 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -9,19 +9,18 @@ const cn = { Error: { Unauthorized: isApp ? `😆 对话遇到了一些问题,不用慌: - \\ 1️⃣ 想要零配置开箱即用,[点击这里立刻开启对话 🚀](${SAAS_CHAT_UTM_URL}) - \\ 2️⃣ 如果你想消耗自己的 OpenAI 资源,点击[这里](/#/settings)修改设置 ⚙️` + \\ 1️⃣ [点击这里立刻开启对话 🚀](${SAAS_CHAT_UTM_URL}) + \\ 2️⃣ 点击[这里](/#/auth)输入访问秘钥 🔑` : `😆 对话遇到了一些问题,不用慌: - \ 1️⃣ 想要零配置开箱即用,[点击这里立刻开启对话 🚀](${SAAS_CHAT_UTM_URL}) - \ 2️⃣ 如果你正在使用私有部署版本,点击[这里](/#/auth)输入访问秘钥 🔑 - \ 3️⃣ 如果你想消耗自己的 OpenAI 资源,点击[这里](/#/settings)修改设置 ⚙️ + \ 1️⃣ [点击这里立刻开启对话 🚀](${SAAS_CHAT_UTM_URL}) + \ 2️⃣ 点击[这里](/#/auth)输入访问秘钥 🔑 `, }, Auth: { Return: "返回", Title: "需要密码", Tips: "管理员开启了密码验证,请在下方填入访问码", - SubTips: "或者输入你的 OpenAI 或 Google AI 密钥", + SubTips: "输入你的密钥", Input: "在此处填写访问码", Confirm: "确认", Later: "稍后再说",