This commit is contained in:
Erik 2023-02-10 23:57:44 +02:00
parent ed2bbaa6b1
commit d2a9348051
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
"shardOptions": {
"respawn": false
},
"shardCount": 1,
"serverOptions": {
"serveFiles": "./files",
"callbackURL": "/api/login",

View File

@ -11,9 +11,9 @@ class Util {
return Math.floor(Date.now() / 1000);
}
static wait (time) {
static wait (timeMs) {
return new Promise((resolve) => {
setTimeout(resolve, time);
setTimeout(resolve, timeMs);
});
}