misc
This commit is contained in:
parent
ed2bbaa6b1
commit
d2a9348051
@ -3,6 +3,7 @@
|
||||
"shardOptions": {
|
||||
"respawn": false
|
||||
},
|
||||
"shardCount": 1,
|
||||
"serverOptions": {
|
||||
"serveFiles": "./files",
|
||||
"callbackURL": "/api/login",
|
||||
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user