We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833391c commit 2082fabCopy full SHA for 2082fab
src/lib/api.ts
@@ -40,7 +40,7 @@ export async function api<T>(path: string, init: RequestInit = {}): Promise<T> {
40
const url = buildUrl(path);
41
if (import.meta.env.DEV && import.meta.env.VITE_API_DEBUG_AUTH) {
42
// concise dev log (avoid dumping the whole body as an object wrapper)
43
- console.log(url);
+ console.debug(url);
44
}
45
const res = await fetch(url, {
46
credentials: "include", // ensure cookies (SBSESSION) are sent
0 commit comments