diff --git a/src/ui/hooks/useChat.ts b/src/ui/hooks/useChat.ts index 21bfab9c8..1ae0aba89 100644 --- a/src/ui/hooks/useChat.ts +++ b/src/ui/hooks/useChat.ts @@ -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", });