projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
13111: Merge branch 'master' into 12308-go-fuse
[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 85202b8662b83d104b3c5a35c9c312fa1850f515..6274fb006ffac62a557ba858287e992800011e0f 100644
(file)
--- a/
apps/workbench/app/views/websocket/index.html.erb
+++ b/
apps/workbench/app/views/websocket/index.html.erb
@@
-1,3
+1,7
@@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<% content_for :page_title do %>
Event bus debugging page
<% end %>
<% content_for :page_title do %>
Event bus debugging page
<% end %>
@@
-18,7
+22,7
@@
putStuffThere = function (content) {
$("#PutStuffHere").append(content + "<br>");
};
$("#PutStuffHere").append(content + "<br>");
};
-var dispatcher = new WebSocket('<%=
$
arvados_api_client.discovery[:websocketUrl] %>?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);