From e5dbd288292edbfaa5792ac0e66a49e8f6b4cd09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=91=E5=B3=B0=20=E5=90=B4?= <1363321437@qq.com>
Date: Wed, 12 Apr 2023 22:01:15 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9title?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/home.tsx | 4 ++--
app/constant.ts | 12 ++++++------
app/layout.tsx | 6 +++---
app/store/access.ts | 2 --
public/site.webmanifest | 3 +--
5 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/app/components/home.tsx b/app/components/home.tsx
index b9c6a8a3e..d0881ba11 100644
--- a/app/components/home.tsx
+++ b/app/components/home.tsx
@@ -169,9 +169,9 @@ function _Home() {
className={styles.sidebar + ` ${showSideBar && styles["sidebar-show"]}`}
>
-
ChatGPT Next
+
ChatGPT 优燃佳科技
- Build your own AI assistant.
+ Build your own AI assistant. Designed on uranplus
diff --git a/app/constant.ts b/app/constant.ts
index 6f08ad756..b66cecbf6 100644
--- a/app/constant.ts
+++ b/app/constant.ts
@@ -1,8 +1,8 @@
-export const OWNER = "Yidadaa";
-export const REPO = "ChatGPT-Next-Web";
-export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
-export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
+export const OWNER = "UranPlus";
+export const REPO = "ChatGPT-UranPlus-Web";
+export const REPO_URL = `https://uranplus.com`;
+export const ISSUE_URL = `https://uranplus.com`;
export const UPDATE_URL = `${REPO_URL}#keep-updated`;
-export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;
-export const FETCH_TAG_URL = `https://api.github.com/repos/${OWNER}/${REPO}/tags?per_page=1`;
+export const FETCH_COMMIT_URL = ``;
+export const FETCH_TAG_URL = ``;
export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
diff --git a/app/layout.tsx b/app/layout.tsx
index 38748ef37..619e546ea 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -7,10 +7,10 @@ import { getBuildConfig } from "./config/build";
const buildConfig = getBuildConfig();
export const metadata = {
- title: "ChatGPT Next Web",
- description: "Your personal ChatGPT Chat Bot.",
+ title: "ChatGPT-优燃佳科技",
+ description: "Your personal ChatGPT chatbot. Designed on uranplus",
appleWebApp: {
- title: "ChatGPT Next Web",
+ title: "ChatGPT UranPlus",
statusBarStyle: "default",
},
themeColor: "#fafafa",
diff --git a/app/store/access.ts b/app/store/access.ts
index aed131684..26f4b0939 100644
--- a/app/store/access.ts
+++ b/app/store/access.ts
@@ -4,9 +4,7 @@ import { persist } from "zustand/middleware";
export interface AccessControlStore {
accessCode: string;
token: string;
-
needCode: boolean;
-
updateToken: (_: string) => void;
updateCode: (_: string) => void;
enabledAccessControl: () => boolean;
diff --git a/public/site.webmanifest b/public/site.webmanifest
index 117f33b86..c0fe96cd5 100644
--- a/public/site.webmanifest
+++ b/public/site.webmanifest
@@ -1,5 +1,5 @@
{
- "name": "ChatGPT Next Web",
+ "name": "ChatGPT UranPlus",
"short_name": "ChatGPT",
"icons": [
{
@@ -18,4 +18,3 @@
"background_color": "#ffffff",
"display": "standalone"
}
-
\ No newline at end of file