Private
Public Access
1
0

created working session and client handler w/ websocket

This commit is contained in:
2016-10-19 13:27:55 +02:00
parent fbfbe5a13b
commit 28f42db14a
10 changed files with 300 additions and 62 deletions

View File

@@ -4,7 +4,7 @@ import GridControl from './grid/grid-control';
class MineSeeker extends React.Component {
/** after rendering */
componentDidMount() {
var websocket = WS.connect("ws://127.0.0.1:8080");
var websocket = WS.connect("ws://mine.dev:8080");
/** session is an Autobahn JS WAMP session. */
websocket.on("socket/connect", function (session) {
@@ -46,7 +46,8 @@ class MineSeeker extends React.Component {
render() {
return (
<GridControl ref="gridControl"/>
<div></div>
// <GridControl ref="gridControl"/>
);
}
}