X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=routes%2Fgames.js;fp=routes%2Fplaying.js;h=808c258cf6ebcff1191cea3ce9e6b97cd8c0617f;hb=00f2759e16ec73fa1ecd0254a9c9018530d71892;hp=3bdfa35cccab1742e1a013eb9fec316b8801443c;hpb=9e76c73c4c4f403563e025968934f29b397b53b3;p=vchess.git diff --git a/routes/playing.js b/routes/games.js similarity index 98% rename from routes/playing.js rename to routes/games.js index 3bdfa35c..808c258c 100644 --- a/routes/playing.js +++ b/routes/games.js @@ -92,7 +92,8 @@ router.get("/gamesbyplayer", access.logged, access.ajax, (req,res) => { }); }); -// TODO: if newmove fail, takeback in GUI // TODO: check move structure +// TODO: if newmove fail, takeback in GUI +// TODO: check move structure // TODO: for corr games, move should contain an optional "message" field ("corr chat" !) router.post("/moves", access.logged, access.ajax, (req,res) => { let gid = ObjectId(req.body.gid);