Added CardCreator init on server startup
This commit is contained in:
parent
3fc98f5d0a
commit
e6d9d10182
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -145,5 +145,6 @@ app.use((error, req, res, next) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
|
creator.ensureInit();
|
||||||
console.log(`Listening at http://localhost:${port}`);
|
console.log(`Listening at http://localhost:${port}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue