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

@ -189,7 +189,7 @@ app.post('/api/upload', (req, res) => {
})
})
app.post('/newgame', express.json(), async (req, res) => {
app.post('/api/newgame', express.json(), async (req, res) => {
const gameSettings = req.body as GameSettings
log.log(gameSettings)
const gameId = Util.uniqId()