Re-enable Host header check after 5.6

pull/3767/head
Thomas Kluyver 8 years ago
parent 2dd46b16c9
commit 2bb4252f21

@ -852,10 +852,6 @@ class NotebookApp(JupyterApp):
@default('allow_remote_access')
def _default_allow_remote(self):
"""Disallow remote access if we're listening only on loopback addresses"""
# Disable the check temporarily because of Mac issues:
# https://github.com/jupyter/notebook/issues/3754
return True
try:
addr = ipaddress.ip_address(self.ip)
except ValueError:

Loading…
Cancel
Save