🔧 added host port to config

This commit is contained in:
ryzetech 2023-01-19 10:08:35 +01:00
parent d8ebf3b9c8
commit 019ca27243
2 changed files with 3 additions and 2 deletions

2
app.js
View file

@ -47,7 +47,7 @@ app.use('/graphql', graphqlHTTP({
graphiql: true,
}));
app.listen(4000);
app.listen(config.port || 4000);
// CHECK LOOP
(async function () {

View file

@ -1,3 +1,4 @@
{
"checkperiod": 300
"checkperiod": 300,
"port": 4000
}