fix
This commit is contained in:
parent
4d083bf7e6
commit
5afb25e0a1
1 changed files with 4 additions and 6 deletions
10
server.js
10
server.js
|
@ -12,7 +12,7 @@ const simpleIcons = require('simple-icons');
|
||||||
|
|
||||||
const con = require('./constants');
|
const con = require('./constants');
|
||||||
let { port, hostname } = {
|
let { port, hostname } = {
|
||||||
port: 3621
|
port: 3621,
|
||||||
hostname: 'localhost'
|
hostname: 'localhost'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -103,9 +103,7 @@ module.exports = (client) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(
|
app.listen(port, hostname, () => {
|
||||||
port, hostname, () => {
|
console.log(`Listening on ${port}`);
|
||||||
console.log(`Listening on ${port}`);
|
});
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue