forked from GithubProxy/ChatGPT-Next-Web
branding(ClientApi): 更新分享消息和品牌标识
- 修改分享消息,增加 UtopiAI 和 NextChat-U 链接 - 更新存储键名为 "utopiai" - 调整主题颜色方案
This commit is contained in:
parent
22d62e7c1f
commit
eef90317cf
@ -185,11 +185,9 @@ export class ClientApi {
|
||||
{
|
||||
from: "human",
|
||||
value:
|
||||
"Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web",
|
||||
"Share from [UtopiAI]: https://code.utopias.site/chenxv399/NextChat-U | Powered By [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web",
|
||||
},
|
||||
]);
|
||||
// 敬告二开开发者们,为了开源大模型的发展,请不要修改上述消息,此消息用于后续数据清洗使用
|
||||
// Please do not modify this message
|
||||
|
||||
console.log("[Share]", messages, msgs);
|
||||
const clientConfig = getClientConfig();
|
||||
|
@ -105,7 +105,7 @@ export const ACCESS_CODE_PREFIX = "nk-";
|
||||
export const LAST_INPUT_KEY = "last-input";
|
||||
export const UNFINISHED_INPUT = (id: string) => "unfinished-input-" + id;
|
||||
|
||||
export const STORAGE_KEY = "chatgpt-next-web";
|
||||
export const STORAGE_KEY = "utopiai";
|
||||
|
||||
export const REQUEST_TIMEOUT_MS = 60000;
|
||||
|
||||
@ -630,7 +630,4 @@ export const CHAT_PAGE_SIZE = 15;
|
||||
export const MAX_RENDER_MSG_COUNT = 45;
|
||||
|
||||
// some famous webdav endpoints
|
||||
export const internalAllowedWebDavEndpoints = [
|
||||
"https://dav.example.com/dav/",
|
||||
];
|
||||
|
||||
export const internalAllowedWebDavEndpoints = ["https://dav.example.com/dav/"];
|
||||
|
@ -8,8 +8,8 @@
|
||||
--white: white;
|
||||
--black: rgb(48, 48, 48);
|
||||
--gray: rgb(250, 250, 250);
|
||||
--primary: rgb(29, 147, 171);
|
||||
--second: rgb(231, 248, 255);
|
||||
--primary: #769fcd;
|
||||
--second: #d6e6f2;
|
||||
--hover-color: #f3f3f3;
|
||||
--bar-color: rgba(0, 0, 0, 0.1);
|
||||
--theme-color: var(--gray);
|
||||
@ -29,8 +29,8 @@
|
||||
--white: rgb(30, 30, 30);
|
||||
--black: rgb(187, 187, 187);
|
||||
--gray: rgb(21, 21, 21);
|
||||
--primary: rgb(29, 147, 171);
|
||||
--second: rgb(27 38 42);
|
||||
--primary: #769fcd;
|
||||
--second: rgb(8, 35, 57);
|
||||
--hover-color: #323232;
|
||||
|
||||
--bar-color: rgba(255, 255, 255, 0.1);
|
||||
|
Loading…
Reference in New Issue
Block a user