Added CardCreator init on server startup

This commit is contained in:
Carlo Morgenstern 2021-10-24 16:04:44 +02:00
parent 3fc98f5d0a
commit e6d9d10182

View file

@ -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}`);
}); });