mirror of https://github.com/bra1n/townsquare.git
argh
This commit is contained in:
parent
e87e288918
commit
12023ce80c
|
@ -225,7 +225,7 @@ wss.on("close", function close() {
|
||||||
// prod mode with stats API
|
// prod mode with stats API
|
||||||
if (process.env.NODE_ENV !== "development") {
|
if (process.env.NODE_ENV !== "development") {
|
||||||
console.log("server starting");
|
console.log("server starting");
|
||||||
server.listen(8081);
|
server.listen(8080);
|
||||||
server.on("request", (req, res) => {
|
server.on("request", (req, res) => {
|
||||||
res.setHeader("Content-Type", register.contentType);
|
res.setHeader("Content-Type", register.contentType);
|
||||||
register.metrics().then(out => res.end(out));
|
register.metrics().then(out => res.end(out));
|
||||||
|
|
Loading…
Reference in New Issue