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={{