From 114353647f82012b40a056aff4d53ec63aaba089 Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Tue, 31 Oct 2023 00:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/package.json | 2 +- web/public/index.html | 10 +++++----- web/src/App.js | 9 +++++++++ web/src/components/HeaderBar.js | 2 +- web/src/components/SiderBar.js | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/web/package.json b/web/package.json index a776a82..30bdd12 100644 --- a/web/package.json +++ b/web/package.json @@ -49,5 +49,5 @@ "singleQuote": true, "jsxSingleQuote": true }, - "proxy": "https://nekoapi.com" + "proxy": "http://localhost:3000" } diff --git a/web/public/index.html b/web/public/index.html index f982bf4..799e52b 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -5,11 +5,11 @@ - - One API Midjourney + + Neko API + + Neko API diff --git a/web/src/App.js b/web/src/App.js index 9e5c29c..4c8ea24 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -25,6 +25,7 @@ import TopUp from './pages/TopUp'; import Log from './pages/Log'; import Chat from './pages/Chat'; import {Layout} from "@douyinfe/semi-ui"; +import Midjourney from "./pages/Midjourney"; const Home = lazy(() => import('./pages/Home')); const About = lazy(() => import('./pages/About')); @@ -269,6 +270,14 @@ function App() { } /> + + + + } + /> { position="bottomRight" render={ - 退出 + 退出 } > diff --git a/web/src/components/SiderBar.js b/web/src/components/SiderBar.js index 8598705..fd82814 100644 --- a/web/src/components/SiderBar.js +++ b/web/src/components/SiderBar.js @@ -254,7 +254,7 @@ const HeaderBar = () => { setSelectedKeys([key.itemKey]); }} header={{ - logo: , + logo: logo, text: 'NekoAPI' }} // footer={{