From: Benjamin Auder Date: Thu, 6 Feb 2020 19:00:52 +0000 (+0100) Subject: 'update' X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/images/assets/doc/pieces/cr.svg?a=commitdiff_plain;h=50f1f7c38bae6100b15db1fdb263a1fb97b9266c;p=vchess.git 'update' --- diff --git a/TODO b/TODO deleted file mode 100644 index d8f28b4e..00000000 --- a/TODO +++ /dev/null @@ -1 +0,0 @@ -Translations (including About page), refresh rules diff --git a/client/README.md b/client/README.md index 0b7fbe4f..e74d295e 100644 --- a/client/README.md +++ b/client/README.md @@ -1,7 +1,7 @@ # vchess-client ## Project setup -Rename and edit src/socket\_url.js.dist into socket\_url.js +Rename and edit src/parameters.js.dist into parameters.js ``` npm install ``` @@ -27,8 +27,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/). ## Resources - Vue.js + Vue router, - - Underscore.js, - mini.css, - - Google font 'Open Sans' + a few icons, + - Google font 'Open Sans' Sounds and pieces images where found at various locations. diff --git a/server/sockets.js b/server/sockets.js index 795ed433..553f8c60 100644 --- a/server/sockets.js +++ b/server/sockets.js @@ -62,7 +62,7 @@ module.exports = function(wss) { break; case "pagechange": // page change clients[sid].page --> obj.page -console.log("page change: " + clients[sid].page + " " + obj.page + " " + sid); +console.log(sid + " : page change: " + clients[sid].page + " --> " + obj.page); notifyRoom(clients[sid].page, "disconnect"); if (clients[sid].page.indexOf("/game/") >= 0) notifyRoom("/", "gdisconnect");