change url parms order

This commit is contained in:
2023-03-18 02:27:19 +08:00
parent 80508f9c6c
commit e0b50ced12

View File

@@ -99,11 +99,9 @@ export default (props: {
location.pathname +
`?key=${encodeURIComponent(
props.chatStore.apiKey
)}&sys=${encodeURIComponent(
props.chatStore.systemMessageContent
)}&api=${encodeURIComponent(props.chatStore.apiEndpoint)}&mode=${
props.chatStore.streamMode ? "stream" : "fetch"
}`;
}&sys=${encodeURIComponent(props.chatStore.systemMessageContent)}`;
return (
<div className="left-0 top-0 overflow-scroll flex justify-center absolute w-screen h-screen bg-black bg-opacity-50 z-10">
<div className="m-2 p-2 bg-white rounded-lg h-fit">