Debug cookie

This commit is contained in:
MartinBraquet
2025-09-12 18:14:34 +02:00
parent e0e11629a1
commit eccd88e3c2

View File

@@ -16,6 +16,7 @@ export const setCookie = (name: string, val: string, opts?: CookieOptions) => {
parts.push(...opts.map((opt) => opt.join('=')))
}
const cookie = parts.join('; ')
console.debug(cookie)
document.cookie = cookie
}