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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>🧩 jigsaw.hyottoko.club</title>
<script type="module" crossorigin src="/assets/index.ae0a2617.js"></script>
<script type="module" crossorigin src="/assets/index.4d785533.js"></script>
<link rel="modulepreload" href="/assets/vendor.b622ee49.js">
<link rel="stylesheet" href="/assets/index.f7304069.css">
</head>

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();