This commit is contained in:
Steffen 2020-12-28 20:22:48 +01:00
parent e87e288918
commit 12023ce80c
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ wss.on("close", function close() {
// prod mode with stats API
if (process.env.NODE_ENV !== "development") {
console.log("server starting");
server.listen(8081);
server.listen(8080);
server.on("request", (req, res) => {
res.setHeader("Content-Type", register.contentType);
register.metrics().then(out => res.end(out));