fix key link

This commit is contained in:
2023-03-17 00:41:53 +08:00
parent 383d6de1d6
commit 09e9d18e71

View File

@@ -97,7 +97,9 @@ export default (props: {
"//" + "//" +
location.host + location.host +
location.pathname + location.pathname +
`?sys=${encodeURIComponent( `?key=${encodeURIComponent(
props.chatStore.apiKey
)}&sys=${encodeURIComponent(
props.chatStore.systemMessageContent props.chatStore.systemMessageContent
)}&api=${encodeURIComponent(props.chatStore.apiEndpoint)}&mode=${ )}&api=${encodeURIComponent(props.chatStore.apiEndpoint)}&mode=${
props.chatStore.streamMode ? "stream" : "fetch" props.chatStore.streamMode ? "stream" : "fetch"