X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lmno.js;h=5f5b2c7248db82fbd289002033bbd4c8cc24b05b;hb=2fb7ba00b458f94dff3e924b245c8f02dc20525a;hp=0fd491a6293bf01672ba7d896ecea16689ce89b5;hpb=48026578b36151fdb09186f4fd5166db6c67c09a;p=lmno-server diff --git a/lmno.js b/lmno.js index 0fd491a..5f5b2c7 100644 --- a/lmno.js +++ b/lmno.js @@ -71,7 +71,6 @@ class LMNO { const game = new engine.Game(id); this.games[id] = { - id: id, game: game }; @@ -136,7 +135,7 @@ app.get('/[a-zA-Z0-9]{4}', (request, response) => { response.sendStatus(404); return; } - response.redirect(301, `/${game.game.meta.identifier}/${game.id}/`); + response.redirect(301, `/${game.game.meta.identifier}/${game.game.id}/`); }); /* LMNO middleware to lookup the game. */