fix server maybe

This commit is contained in:
root 2020-01-08 07:51:35 +00:00
parent 02c51912b0
commit 921e08e0ff
2 changed files with 3 additions and 9 deletions

View file

@ -106,9 +106,9 @@ module.exports = (client) => {
}
}); */
app.listen(port, hostname, () => {
app.listen(port, () => {
setTimeout(() => {
console.log(`Listening on ${hostname}:${port}`);
console.log(`Listening on ${port}`);
}, 1000 * 3);
});
};

8
package-lock.json generated
View file

@ -668,11 +668,10 @@
"abort-controller": "^3.0.0",
"form-data": "^2.3.3",
"node-fetch": "^2.3.0",
"pako": "^1.0.8",
"prism-media": "^1.0.0",
"setimmediate": "^1.0.5",
"tweetnacl": "^1.0.1",
"ws": "^6.1.3"
"ws": "^7.2.0"
},
"dependencies": {
"ws": {
@ -2451,11 +2450,6 @@
"semver": "^5.1.0"
}
},
"pako": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz",
"integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw=="
},
"parse-ms": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz",