Commit Graph
10 Commits
Author SHA1 Message Date
Mike Cao 9fd4fe628d Merge pull request #4054 from Yashh56/cache-control
feat: add cache control headers to GET response
2026-03-25 13:42:23 -07:00
Yash 92fee4fe26 feat: add cache control headers to GET response 2026-02-27 12:13:50 +05:30
juanisidoro c730442e5c fix: apply same null referrer fix to link tracking route
The same bug exists in the link route (q/[slug]) where
request.headers.get("referer") returns null for requests without
a Referer header, causing silent Zod validation failure.
2026-02-19 13:21:46 +01:00
juanisidoro 3d8d5a7293 fix: handle null referrer in pixel tracking route
request.headers.get("referer") returns null when the header is absent
(e.g. email clients). The Zod schema uses .optional() which accepts
undefined but rejects null, causing silent validation failure and
pixel events not being recorded.

Fixes #4028
2026-02-19 13:21:46 +01:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao 8a977b0164 Updated pixel/link endpoints. Added name to rawQuery. 2025-09-30 16:11:21 -07:00
Mike Cao b9fbbc6453 Split queries into prisma and sql. 2025-09-29 16:55:07 -07:00
Mike Cao d8b3c8d13c Pass headers for links and pixels. 2025-09-22 14:19:57 -07:00
Mike Cao 789b8b36d8 Link route. 2025-08-18 22:30:22 -07:00
Mike Cao 0ac8bd41b6 Pixel route. 2025-08-18 15:49:10 -07:00