diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-13 12:03:10 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-13 12:03:10 +0200 |
commit | 298ab560e8c599dfaf4829eb1426c6642a823122 (patch) | |
tree | faf4ea8cf9b4927c6f124a43a6652f372f31c6e0 /js/codeq/robot.js | |
parent | d82ad6356586e74f41869647d57157993a3d6161 (diff) |
Store robot's address in settings
Diffstat (limited to 'js/codeq/robot.js')
-rw-r--r-- | js/codeq/robot.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/codeq/robot.js b/js/codeq/robot.js index 1188c7f..a1b76f1 100644 --- a/js/codeq/robot.js +++ b/js/codeq/robot.js @@ -147,8 +147,7 @@ alert(error); }, reconnectTimer = null, - address = '192.168.1.174:8000', // TODO get this from settings - url = 'ws://' + address + '/', + url = 'ws://' + codeq.settings['robot_address'] + ':8000/', socket = eio(url); // set up the websocket events |