hostname
This commit is contained in:
parent
9a59674e90
commit
4d083bf7e6
|
@ -13,7 +13,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'
|
||||||
};
|
};
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
@ -104,8 +104,7 @@ module.exports = (client) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(
|
app.listen(
|
||||||
port,
|
port, hostname, () => {
|
||||||
/* hostname, */ () => {
|
|
||||||
console.log(`Listening on ${port}`);
|
console.log(`Listening on ${port}`);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue