mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
include visitors metrics in websiteStats
This commit is contained in:
parent
1a839d1cae
commit
51139c1918
4 changed files with 31 additions and 20 deletions
|
|
@ -12,7 +12,7 @@ export function salt() {
|
|||
return hash(secret(), ROTATING_SALT);
|
||||
}
|
||||
|
||||
export function sessionSalt() {
|
||||
export function visitSalt() {
|
||||
const ROTATING_SALT = hash(startOfHour(new Date()).toUTCString());
|
||||
|
||||
return hash(secret(), ROTATING_SALT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue