mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 23:56:22 +08:00
removed the time traveler easter egg
This commit is contained in:
parent
652a1def66
commit
b0e468561b
1 changed files with 3 additions and 3 deletions
|
@ -100,9 +100,9 @@ class ResultController {
|
|||
return res.status(400).json({ message: "Incorrect result hash" });
|
||||
}
|
||||
|
||||
if (result.timestamp > Date.now()) {
|
||||
return res.status(400).json({ message: "Time traveler detected" });
|
||||
}
|
||||
// if (result.timestamp > Date.now()) {
|
||||
// return res.status(400).json({ message: "Time traveler detected" });
|
||||
// }
|
||||
|
||||
result.timestamp = Math.round(Date.now() / 1000) * 1000;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue