Remove todo

Please don't change the hash function!!!
It's the spirit of fortune generator.
This commit is contained in:
ChenKaiLiuG
2025-02-22 01:12:22 +08:00
committed by GitHub
parent f7d450895f
commit 95fa12a732

View File

@@ -324,8 +324,7 @@ function Appear() {
if (!fortune_generated) {
// transform ip to four numbers
const num = ip.split(".").map((num) => parseInt(num));
// TODO: improve the hash process
const hashDate = Math.round(
Math.log10(
year *