projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 3654-combine-selections
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
websocket
/
index.html.erb
diff --git
a/apps/workbench/app/views/websocket/index.html.erb
b/apps/workbench/app/views/websocket/index.html.erb
index 425ddd47fdcda38dfb322361d363de54c26310e0..d8053718772fbcd0f8140aa3d85887186983dd70 100644
(file)
--- a/
apps/workbench/app/views/websocket/index.html.erb
+++ b/
apps/workbench/app/views/websocket/index.html.erb
@@
-18,7
+18,7
@@
putStuffThere = function (content) {
$("#PutStuffHere").append(content + "<br>");
};
$("#PutStuffHere").append(content + "<br>");
};
-var dispatcher = new WebSocket('
ws://localhost:3001/websocket
?api_token=<%= Thread.current[:arvados_api_token] %>');
+var dispatcher = new WebSocket('
<%= arvados_api_client.discovery[:websocketUrl] %>
?api_token=<%= Thread.current[:arvados_api_token] %>');
dispatcher.onmessage = function(event) {
//putStuffThere(JSON.parse(event.data));
putStuffThere(event.data);
dispatcher.onmessage = function(event) {
//putStuffThere(JSON.parse(event.data));
putStuffThere(event.data);