Handle null referrer in pixel tracking route

Fixkamo-analytics
Name
lúc 07:39 13 tháng 2, 2026 UTC
Tác giả
juanisidoro
Cam kết
3d8d5a7

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

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập