Update src/ui/hooks/useChat.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
86517405e1
commit
b0b69fdf59
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ export function useChat({
|
|||
// Handle /exit command in remote mode
|
||||
if (isRemoteMode && remoteUrl && message.trim() === "/exit") {
|
||||
try {
|
||||
// Send GET request to /exit endpoint
|
||||
// Send POST request to /exit endpoint
|
||||
const response = await fetch(`${remoteUrl}/exit`, {
|
||||
method: "POST",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue