aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/api/birthdays/secondary/+server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/api/birthdays/secondary/+server.ts b/src/routes/api/birthdays/secondary/+server.ts
index f28e2e71..5036622f 100644
--- a/src/routes/api/birthdays/secondary/+server.ts
+++ b/src/routes/api/birthdays/secondary/+server.ts
@@ -1,3 +1,5 @@
+import { env } from '$env/dynamic/private';
+
export const GET = async ({ url }: { url: URL }) => {
return Response.json(
await (
@@ -10,7 +12,8 @@ export const GET = async ({ url }: { url: URL }) => {
Accept: 'application/json',
'Content-Type': 'application/json',
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0',
- 'Cache-Control': 'max-age=10, s-maxage=10'
+ 'Cache-Control': 'max-age=10, s-maxage=10',
+ Cookie: `USTATS=${env.ACDB_COOKIE}`
}
}
)