projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement basic move.message. Buggish + game.clocks also bad update at least in corr...
[vchess.git]
/
client
/
src
/
store.js
diff --git
a/client/src/store.js
b/client/src/store.js
index
3b280d9
..
2728aaf
100644
(file)
--- a/
client/src/store.js
+++ b/
client/src/store.js
@@
-36,8
+36,8
@@
export const store =
this.state.user.notify = res.notify;
});
}
this.state.user.notify = res.notify;
});
}
- this.state.conn = new WebSocket(
-
params.socketUrl + "/?sid=" + mysid + "&page=" + page
);
+ this.state.conn = new WebSocket(
params.socketUrl + "/?sid=" + mysid +
+
"&page=" + encodeURIComponent(page)
);
// Settings initialized with values from localStorage
this.state.settings = {
bcolor: localStorage["bcolor"] || "lichess",
// Settings initialized with values from localStorage
this.state.settings = {
bcolor: localStorage["bcolor"] || "lichess",