forked from MTSR/mapserver
37ee801f2b
fixes #76
10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
|
|
import WorldStats from './components/WorldStats.js';
|
|
import wsChannel from './WebSocketChannel.js';
|
|
|
|
wsChannel.connect();
|
|
|
|
wsChannel.addListener("minetest-info", function(info){
|
|
m.render(document.getElementById("app"), WorldStats(info));
|
|
});
|