chat url
This commit is contained in:
1 parent
eff0bee8e0
commit
0a3b6dbb1e
1 file changed
+1
-1
@@ -19,7 +19,7 @@ function useQuery(): string {
|
||||
}
|
||||
|
||||
export function useChat(): UseChatResult {
|
||||
const chatEndpoint = useOptions().api + '/chat';
|
||||
const chatEndpoint = useOptions().api + '/v1/chat';
|
||||
const urlQuery = useQuery();
|
||||
|
||||
const [messages, setMessages] = useState<IChatMessage[]>([]);
|
||||
|
||||
Reference in new issue
Block a user