aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/lib/api/_fetch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'code/app/src/lib/api/_fetch.ts')
-rw-r--r--code/app/src/lib/api/_fetch.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/app/src/lib/api/_fetch.ts b/code/app/src/lib/api/_fetch.ts
index 21df208..c29d262 100644
--- a/code/app/src/lib/api/_fetch.ts
+++ b/code/app/src/lib/api/_fetch.ts
@@ -71,6 +71,7 @@ async function redirect_if_401_async(response: Response): Promise<boolean> {
function make_request_init(method: string, body?: any, signal?: AbortSignal): RequestInit {
const init = {
method,
+ credentials: "include",
signal,
headers: {
"X-TimeZone": Temporal.Now.timeZone().id,