mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
remove useless access to IPython global
This commit is contained in:
parent
7c84376596
commit
2b98c8dbff
@ -30,7 +30,7 @@ define([
|
||||
|
||||
this.kernel_service_url = kernel_service_url;
|
||||
this.kernel_url = null;
|
||||
this.ws_url = ws_url || IPython.utils.get_body_data("wsUrl");
|
||||
this.ws_url = ws_url || utils.get_body_data("wsUrl");
|
||||
if (!this.ws_url) {
|
||||
// trailing 's' in https will become wss for secure web sockets
|
||||
this.ws_url = location.protocol.replace('http', 'ws') + "//" + location.host;
|
||||
|
Loading…
Reference in New Issue
Block a user