include visitors metrics in websiteStats
This commit is contained in:
1 parent
1a839d1cae
commit
51139c1918
4 files changed
+31
-20
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user