mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 01:54:09 +00:00
service-whoami: don't advertise link that won't work
whoami-api is api-only, it shouldn't be in the services dropdown
This commit is contained in:
@@ -7,6 +7,7 @@ c.JupyterHub.services = [
|
||||
'name': 'whoami-api',
|
||||
'url': 'http://127.0.0.1:10101',
|
||||
'command': [sys.executable, './whoami.py'],
|
||||
'display': False,
|
||||
},
|
||||
{
|
||||
'name': 'whoami-oauth',
|
||||
@@ -36,3 +37,5 @@ c.JupyterHub.load_roles = [
|
||||
c.JupyterHub.authenticator_class = 'dummy'
|
||||
c.JupyterHub.spawner_class = 'simple'
|
||||
c.JupyterHub.ip = '127.0.0.1' # let's just run on localhost while dummy auth is enabled
|
||||
# default to home page, since we don't want to start servers for this demo
|
||||
c.JupyterHub.default_url = "/hub/home"
|
||||
|
Reference in New Issue
Block a user