replace unused websocket_host with websocket_url

Rather than specifying only the hostname, it makes much more sense
to specify the whole protocol,host,port in a single go.
MinRK 13 years ago
parent 2b45d245a4
commit 438216ce5e

@ -426,8 +426,12 @@ class NotebookApp(BaseIPythonApplication):
elif not new.endswith('/'):
self.base_kernel_url = new+'/'
websocket_host = Unicode("", config=True,
help="""The hostname for the websocket server."""
websocket_url = Unicode("", config=True,
help="""The base URL for the websocket server,
if it differs from the HTTP server (hint: it almost certainly doesn't).
Should be in the form of an HTTP origin: ws[s]://hostname[:port]
"""
)
extra_static_paths = List(Unicode, config=True,

Loading…
Cancel
Save