diff --git a/client/app/services/TokensController.ts b/client/app/services/TokensController.ts index 0ed3dd75..363a4f41 100644 --- a/client/app/services/TokensController.ts +++ b/client/app/services/TokensController.ts @@ -2,6 +2,7 @@ import axios from "axios"; import { LLMTokenInsert } from "../hooks/useToken"; const apiDomain = process.env.NEXT_PUBLIC_API_DOMAIN; +axios.defaults.withCredentials = true; export async function getTokenList() { const response = await axios.get(`${apiDomain}/api/user/llm_tokens`);