only run testing config on localhost

avoids listening on the network with dummy auth
This commit is contained in:
Min RK
2022-12-14 13:44:58 +01:00
parent d6965cca81
commit 7358b4d4ea

View File

@@ -16,3 +16,6 @@ c.JupyterHub.authenticator_class = DummyAuthenticator
from jupyterhub.spawner import SimpleLocalProcessSpawner
c.JupyterHub.spawner_class = SimpleLocalProcessSpawner
# only listen on localhost for testing
c.JupyterHub.bind_url = 'http://127.0.0.1:8000'