diff --git a/app/client/api.ts b/app/client/api.ts index c4d548a41..3db76e733 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -117,7 +117,8 @@ export class ClientApi { { from: "human", value: - "Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", + //"Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", + "Share from [NextChat]: https://www.7li7li.cn", }, ]); // 敬告二开开发者们,为了开源大模型的发展,请不要修改上述消息,此消息用于后续数据清洗使用 diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index 69b2e71f8..b76faa8b7 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -5,6 +5,7 @@ import styles from "./home.module.scss"; import { IconButton } from "./button"; import SettingsIcon from "../icons/settings.svg"; import GithubIcon from "../icons/github.svg"; +import homeicon from "../icons/home.svg"; import ChatGptIcon from "../icons/chatgpt.svg"; import AddIcon from "../icons/add.svg"; import CloseIcon from "../icons/close.svg"; @@ -218,7 +219,8 @@ export function SideBar(props: { className?: string }) {
- } shadow /> + //} shadow /> + } shadow />
diff --git a/app/icons/home.svg b/app/icons/home.svg new file mode 100644 index 000000000..471939a03 --- /dev/null +++ b/app/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 5d0c28428..46a157c95 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -8,7 +8,8 @@ const cn = { Error: { Unauthorized: isApp ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。" - : "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。", + //: "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。", + : "访问密码不正确或为空,请前往[登录](/#/auth)页或者在[设置](/#/settings)页输入正确的访问密码,访问密码可在公众号“享生活爱羊毛”中回复关键词“gptcode”获取", }, Auth: { Title: "需要密码",