include visitors metrics in websiteStats

This commit is contained in:
Francis Cao committed 2024-03-26 10:43:01 -07:00
1 parent 1a839d1cae
commit 51139c1918
4 files changed
+31 -20

No files matched your search

+1 -1
View File
@@ -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);