🔧 added host port to config
This commit is contained in:
parent
d8ebf3b9c8
commit
019ca27243
2 changed files with 3 additions and 2 deletions
2
app.js
2
app.js
|
@ -47,7 +47,7 @@ app.use('/graphql', graphqlHTTP({
|
||||||
graphiql: true,
|
graphiql: true,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app.listen(4000);
|
app.listen(config.port || 4000);
|
||||||
|
|
||||||
// CHECK LOOP
|
// CHECK LOOP
|
||||||
(async function () {
|
(async function () {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"checkperiod": 300
|
"checkperiod": 300,
|
||||||
|
"port": 4000
|
||||||
}
|
}
|
Loading…
Reference in a new issue