This commit is contained in:
Micke Nordin 2024-01-16 15:46:17 +01:00
parent d8f082c6eb
commit 1b9ef51601
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -190,7 +190,7 @@ hub:
http_server = HTTPServer(app) http_server = HTTPServer(app)
print(os.environ) print(os.environ)
url = urlparse(os.environ['JUPYTERHUB_API_URL']) url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
http_server.listen(url.port, reuse_port=True) http_server.listen(url.port, reuse_port=True)