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:
Min RK
2024-04-23 10:07:29 +02:00
parent bcf5f49dd6
commit 5ae250506b

View File

@@ -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"