root 2 months ago
parent
commit
59d4b7e186
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/run-agent-flow/components/Header.tsx

+ 1 - 1
app/run-agent-flow/components/Header.tsx

@@ -15,7 +15,7 @@ export default function Header() {
 
   const logOut = async () => {
     const res = await fetch("https://beta.api.cocorobo.cn/api/logout", {
-      method: "POST",
+      method: "POST", credentials: 'include'
     });
     await signOut({ redirect: false })
   }