mirror of
https://github.com/umami-software/umami.git
synced 2026-05-30 06:47:25 +00:00
Added new headers to tracker.
This commit is contained in:
@@ -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