Added init complete log to server

This commit is contained in:
Carlo Morgenstern 2021-10-24 17:44:54 +02:00
parent a13758dcb1
commit 3a9e4d7502

View file

@ -145,6 +145,6 @@ app.use((error, req, res, next) => {
});
app.listen(port, () => {
creator.ensureInit();
console.log(`Listening at http://localhost:${port}`);
creator.ensureInit().then(() => console.log('CardCreator initialization complete'));
});