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:
Nate Sesti 2025-07-21 13:43:45 -07:00 • committed by GitHub
parent 86517405e1
commit b0b69fdf59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",
});