mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
only run testing config on localhost
avoids listening on the network with dummy auth
This commit is contained in:
@@ -16,3 +16,6 @@ c.JupyterHub.authenticator_class = DummyAuthenticator
|
|||||||
from jupyterhub.spawner import SimpleLocalProcessSpawner
|
from jupyterhub.spawner import SimpleLocalProcessSpawner
|
||||||
|
|
||||||
c.JupyterHub.spawner_class = SimpleLocalProcessSpawner
|
c.JupyterHub.spawner_class = SimpleLocalProcessSpawner
|
||||||
|
|
||||||
|
# only listen on localhost for testing
|
||||||
|
c.JupyterHub.bind_url = 'http://127.0.0.1:8000'
|
||||||
|
Reference in New Issue
Block a user