auto create new chatStore if there any params in URL

This commit is contained in:
2023-03-27 13:15:23 +08:00
parent 146f34a22d
commit 30abf3ed15
2 changed files with 39 additions and 21 deletions

View File

@@ -191,6 +191,10 @@ export default function ChatBOX(props: {
<p className="opacity-60 p-6 rounded bg-white my-3 text-left dark:text-black">
<br />
Key: {chatStore.apiKey}
<br />
Endpoint: {chatStore.apiEndpoint}
<br />
<br />
NEW
@@ -201,7 +205,7 @@ export default function ChatBOX(props: {
<br />
:{" "}
<a
className="underline"
className="underline"
href="https://github.com/heimoshuiyu/chatgpt-api-web"
target="_blank"
>