Added new headers to tracker.

This commit is contained in:
Mike Cao
2026-05-23 22:27:39 -07:00
parent 6fbf45cd21
commit c38ac660cb
+2
View File
@@ -177,6 +177,8 @@
body: JSON.stringify({ type, payload }),
headers: {
'Content-Type': 'application/json',
'x-umami-website-id': website,
'x-umami-hostname': hostname,
...(typeof cache !== 'undefined' && { 'x-umami-cache': cache }),
},
credentials,