We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0642550 commit 4827739Copy full SHA for 4827739
labextension/vpython/src/index.ts
@@ -47,11 +47,11 @@ class VPythonExtension implements DocumentRegistry.IWidgetExtension<NotebookPane
47
glowcommlab.comm = vp_comm
48
vp_comm.onMsg = glowcommlab.onmessage
49
50
- // Get base URL of current notebook server
51
- let baseUrl = PageConfig.getBaseUrl()
+ // Get Websocket URL of current notebook server
+ let ws_url = PageConfig.getWsUrl()
52
53
// Construct URL of our proxied service
54
- let serviceUrl = base_url + 'proxy/' + port;
+ let serviceUrl = ws_url + 'proxy/';
55
56
glowcommlab.setupWebsocket(commMsg, serviceUrl)
57
});
0 commit comments