created working session and client handler w/ websocket
This commit is contained in:
@@ -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"/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user