diff --git a/base-notebook/docker_healthcheck.py b/base-notebook/docker_healthcheck.py index 8b756c55..4dbc62fe 100755 --- a/base-notebook/docker_healthcheck.py +++ b/base-notebook/docker_healthcheck.py @@ -11,7 +11,7 @@ import requests # As this is a healthcheck, it should succeed or raise an exception on error runtime_dir = Path("/home/") / os.environ["NB_USER"] / ".local/share/jupyter/runtime/" -json_file = next(runtime_dir.glob("*.json")) +json_file = next(runtime_dir.glob("*server-*.json")) url = json.loads(json_file.read_bytes())["url"] url = url + "api"