fix possible lost messages (OOS)

This commit is contained in:
Zutatensuppe 2021-05-29 18:57:22 +02:00
parent c6f47c9b25
commit 472113ad74
6 changed files with 21 additions and 10 deletions

View file

@ -2027,7 +2027,7 @@ app.post('/api/upload', (req, res) => {
res.send(Images.imageFromDb(db, imageId));
});
});
app.post('/newgame', express.json(), async (req, res) => {
app.post('/api/newgame', express.json(), async (req, res) => {
const gameSettings = req.body;
log.log(gameSettings);
const gameId = Util.uniqId();