This commit is contained in:
Marvin Martinson 2018-11-25 08:12:33 +02:00
parent 4e6f7904ba
commit 6515efafa9
2 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,8 @@
//var ROBOT_SERVER = '192.168.2.1:80';
//var ROBOT_SERVER = '165.227.140.64:80';
var ROBOT_SERVER = 'sumo.koodur.com:80';
//var ROBOT_SERVER = '192.168.1.1:80';
//var ROBOT_SERVER = '192.168.1.1:80';
// The sumorobot object
var sumorobot;
// Disable / enable coding mode

19
test.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
var exampleSocket = new WebSocket("ws://192.168.1.1:80/p2p/sumo-277344/browser/");
exampleSocket.onmessage = function (event) {
console.log("data");
}
</script>
</body>
</html>