mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
fix: opsec blunder
Signed-off-by: István <156918376+xXxMLGGamerXxx@users.noreply.github.com>
This commit is contained in:
parent
91d09c41c8
commit
5c3c7c884d
1 changed files with 13 additions and 5 deletions
|
@ -1,6 +1,14 @@
|
|||
export default function age() {
|
||||
return Math.floor(
|
||||
(new Date().getTime() - new Date('2004-07-22').getTime()) /
|
||||
(1000 * 60 * 60 * 24 * 365.25)
|
||||
)
|
||||
function e(input) {
|
||||
return btoa(input);
|
||||
}
|
||||
|
||||
function d(input) {
|
||||
return atob(input); //
|
||||
}
|
||||
|
||||
export default function age() {
|
||||
const ed = 'Smw3Z2FhNi0yMjBi';
|
||||
const de = d(ed);
|
||||
const age = Math.floor((new Date().getTime() - new Date(de).getTime()) / (1000 * 60 * 60 * 24 * 365.25));
|
||||
return age;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue