Added new headers to tracker.
This commit is contained in:
1 parent
6fbf45cd21
commit
c38ac660cb
1 file changed
+2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user