Skip to content

Commit 5b1f4cc

Browse files
authored
Added proxied websocket support
Added websocket support through proxied server.
1 parent 6b52049 commit 5b1f4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpython/vpython_libraries/glowcomm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
define(["base/js/utils",
2-
"nbextensions/vpython_libraries/plotly.min",
2+
"nbextensions/vpython_libraries/plotly.min",
33
"nbextensions/vpython_libraries/glow.min",
44
"nbextensions/vpython_libraries/jquery-ui.custom.min"], function(utils, Plotly) {
55

@@ -38,7 +38,7 @@ IPython.notebook.kernel.comm_manager.register_target('glow',
3838
}
3939
if (document.location.hostname.includes("localhost")){
4040
url = "ws://localhost:" + port + uri;
41-
}
41+
}
4242
else {
4343
new_uri += '//' + document.location.host + service_url;
4444
url = new_uri

0 commit comments

Comments
 (0)